Skip to content

Commit 79a9e9c

Browse files
committed
C++: Address review comments
1 parent a29b958 commit 79a9e9c

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/experimental/query-tests/Best Practices/GuardedFree

1 file changed

+1
-1
lines changed

cpp/ql/test/experimental/query-tests/Best Practices/GuardedFree/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,6 @@ void test13(char *x) {
110110
void inspect(char *x);
111111

112112
void test14(char *x) {
113-
if (x != nullptr) // GOOD [FALSE POSITIVE]: x might be accessed
113+
if (x != nullptr) // GOOD [FALSE POSITIVE]: x might be accessed in the first operand of the comma operator
114114
inspect(x), free(x);
115115
}

0 commit comments

Comments
 (0)