Files
codeql/cpp/ql/src/Critical/DeadCodeFunction.cpp
2018-11-08 18:37:41 +00:00

13 lines
185 B
C++

class C {
public:
void g() {
...
//f() was previously used but is now commented-out, orphaning f()
//f();
...
}
private:
void f() { //is now unused, and can be removed
}
};