Files
codeql/cpp/ql/src/Critical/DeadCodeFunction.cpp
2018-08-02 17:53:23 +01:00

13 lines
193 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
}
};