Files
codeql/cpp/ql/src/Critical/DeadCodeFunction.cpp
2018-09-23 16:23:52 -07:00

13 lines
181 B
C++

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