mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
C++: Fix more inconsistencies.
This commit is contained in:
@@ -565,4 +565,19 @@ void test45() {
|
||||
|
||||
*rP = NULL;
|
||||
use(r); // GOOD
|
||||
}
|
||||
}
|
||||
|
||||
void test46()
|
||||
{
|
||||
LinkedList *r, **rP = &r;
|
||||
|
||||
while (getBool())
|
||||
{
|
||||
LinkedList *s = nullptr;
|
||||
*rP = s;
|
||||
rP = &s->next;
|
||||
}
|
||||
|
||||
*rP = nullptr;
|
||||
use(r);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user