Co-Authored-By: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2020-01-10 11:46:14 +01:00
committed by GitHub
parent d9f931da3c
commit 21c99d1827

View File

@@ -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
}
}
}