mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
C++: Update comments
This commit is contained in:
@@ -7,10 +7,10 @@ UNKNOWN_TYPE test_error_value() {
|
||||
|
||||
void* test_error_pointer() {
|
||||
UNKNOWN_TYPE x;
|
||||
return &x; // GOOD: Don't know what &x means
|
||||
return &x; // BAD [FALSE NEGATIVE]
|
||||
}
|
||||
|
||||
int* test_error_pointer_member() {
|
||||
UNKNOWN_TYPE x;
|
||||
return &x.y; // GOOD: Don't know what x.y means
|
||||
return &x.y; // BAD [FALSE NEGATIVE]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user