Skip to content

Commit 70ad0ad

Browse files
Updated C6101
Single backticks and InOut->Inout
1 parent 14ca55f commit 70ad0ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/code-quality/c6101.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Code analysis name: RETURN_UNINIT_VAR
1919

2020
## Example
2121

22-
The following code generates this warning. This issue stems from the pointer p1 not being set despite having been annotated with ```_Out_```.
22+
The following code generates this warning. This issue stems from the pointer p1 not being set despite having been annotated with `_Out_`.
2323

2424
```cpp
2525
void example_func(_Out_ int *p1)
@@ -28,7 +28,7 @@ void example_func(_Out_ int *p1)
2828
}
2929
```
3030
31-
To resolve the issue, you can set the value of the parameter. Or, if the value is always initialized before the function is called, change the SAL annotation to `_InOut_`. By setting the value of the parameter, the following code avoids the warning:
31+
To resolve the issue, you can set the value of the parameter. Or, if the value is always initialized before the function is called, change the SAL annotation to `_Inout_`. By setting the value of the parameter, the following code avoids the warning:
3232
3333
```cpp
3434
void example_func(_Out_ int *p1)

0 commit comments

Comments
 (0)