Files
codeql/cpp/ql/src/Best Practices/Hiding/DeclarationHidesParameter.cpp
2018-09-23 16:23:52 -07:00

7 lines
111 B
C++

void f(int i) {
for (int i = 0; i < 10; ++i) { //the loop variable hides the parameter to f()
...
}
}