File tree Expand file tree Collapse file tree 5 files changed +6
-9
lines changed
Expand file tree Collapse file tree 5 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ dev_langs: ["C++"]
1414
1515> Warning C33001: VARIANT 'var' was cleared when it was uninitialized (expression 'expr')
1616
17- This warning is triggered when an uninitialized VARIANT is passed into an API such as VariantClear
17+ This warning is triggered when an uninitialized VARIANT is passed to an API such as VariantClear
1818that expects an initialized VARIANT.
1919
2020## Example
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ dev_langs: ["C++"]
1414
1515> Warning C33004: VARIANT 'var', which is marked as _ Out_ was cleared before being initialized (expression 'expr')
1616
17- This warning is triggered when a VARIANT parameter with \_ Out\_ SAL annotation, which may not be
18- to be initialized on input, is passed to an API such as VariantClear that expects an initialized VARIANT.
17+ This warning is triggered when a VARIANT parameter with \_ Out\_ SAL annotation, which may haven't been
18+ initialized on input, is passed to an API such as VariantClear that expects an initialized VARIANT.
1919
2020## Example
2121
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ dev_langs: ["C++"]
1414
1515> Warning C33005: VARIANT 'var' was provided as an input or input/output parameter but was not initialized (expression 'expr')
1616
17- This warning is triggered when an uninitialized VARIANT is passed to a function as input only or input/output
17+ This warning is triggered when an uninitialized VARIANT is passed to a function as input- only or input/output
1818parameter - for example, a pass-by-refrence parameter without an \_ Out\_ SAL annotation.
1919
2020## Example
Original file line number Diff line number Diff line change @@ -14,9 +14,6 @@ dev_langs: ["C++"]
1414
1515> Warning C33011: Unchecked upper bound for enum 'enum' used as index.
1616
17- This warning is triggered when the lower bound of the enum used as index into an array is checked,
18- but the upper bound is not checked.
19-
2017This warning is triggered for an enum that is used as an index into an array,
2118if the lower bound is checked for its value, but not the upper bound.
2219
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ dev_langs: ["C++"]
1414
1515> Warning C33022: Potentially incorrect HRESULT usage detected (low confidence)
1616
17- It is a low-confidence warning for functions that return HRESULT, if there is "FALSE" or "false"
18- somewhere along the line that eventually returns it or assigns to a variable that is returned.
17+ This is low-confidence warning for a function that returns HRESULT, if there is "FALSE" or "false"
18+ somewhere along the line that eventually returns it or assigns it to a variable that is returned.
1919
2020## Example
2121
You can’t perform that action at this time.
0 commit comments