mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Tell static analyzer that having ntservice functions not exist is ok
When we made these functions exist unconditionally (as macros on non-windows platforms), we started to get a dead-code warning on Coverity. We now use a macro to tell coverity not to worry about this particular dead-code instance.
This commit is contained in:
parent
5e27caa60c
commit
77246dc0d8
@ -1240,7 +1240,7 @@ tor_run_main(const tor_main_configuration_t *tor_cfg)
|
||||
|
||||
int done = 0;
|
||||
result = nt_service_parse_options(argc, argv, &done);
|
||||
if (done)
|
||||
if (POSSIBLE(done))
|
||||
goto done;
|
||||
|
||||
pubsub_install();
|
||||
|
Loading…
Reference in New Issue
Block a user