1
0
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:
dmiller
2021-07-23 16:50:13 +00:00
parent da2c3673f1
commit 322dfed68a

View File

@@ -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;