We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b4c0cd commit d8e0ffaCopy full SHA for d8e0ffa
cpp/ql/src/Likely Bugs/Memory Management/UninitializedLocal.ql
@@ -72,12 +72,10 @@ VariableAccess commonException() {
72
or
73
result.getParent() instanceof BuiltInOperation
74
75
- // Ignore the uninitialized use that is explicitly cast to void and
76
- // is also an expression statement.
77
- (
78
- result.getActualType() instanceof VoidType and
79
- result.getParent() instanceof ExprStmt
80
- )
+ // Ignore any uninitialized use that is explicitly cast to void and
+ // is an expression statement.
+ result.getActualType() instanceof VoidType and
+ result.getParent() instanceof ExprStmt
81
82
// Finally, exclude functions that contain assembly blocks. It's
83
// anyone's guess what happens in those.
0 commit comments