mirror of
https://github.com/github/codeql.git
synced 2026-05-04 05:05:12 +02:00
Typo fix
Co-Authored-By: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d9f931da3c
commit
21c99d1827
@@ -102,7 +102,7 @@ void g(int *i_p, int cond) {
|
||||
template<typename>
|
||||
void h() {
|
||||
int x;
|
||||
if(x = 0) { // GOOD: x is not initialized so this is probably intensional
|
||||
if(x = 0) { // GOOD: x is not initialized so this is probably intentional
|
||||
}
|
||||
|
||||
int y = 0;
|
||||
@@ -152,4 +152,4 @@ void f3(int x, int y) {
|
||||
|
||||
if((x == 10) || ((z == z) && (x == 1)) && (y = 2)) { // BAD
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user