mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 05:39:01 +00:00
Silence a LGTM warning: we know it's useless for now.
This commit is contained in:
@@ -175,7 +175,9 @@ int main(int argc, char *argv[] ){
|
||||
case ROLE_SERVER:
|
||||
o.stats.startClocks();
|
||||
es.start();
|
||||
es.cleanup();
|
||||
// Cleanup currently does nothing, but needs to be called in case
|
||||
// it does something in the future.
|
||||
es.cleanup(); // lgtm [cpp/useless-expression]
|
||||
o.stats.stopClocks();
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user