diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-09-15 13:52:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-09-15 13:52:56 -0400 |
commit | 1dc0d26b50929ad3969a6aa759ce71e0d089bb33 (patch) | |
tree | 6ecd90beb7c99dd617815ba5c7767fcbe56d60bc /src/test/test_routerset.c | |
parent | 53a94c4b4bf2e75ec4c9132c91cf70ca4520bd1c (diff) | |
download | tor-1dc0d26b50929ad3969a6aa759ce71e0d089bb33.tar.gz tor-1dc0d26b50929ad3969a6aa759ce71e0d089bb33.zip |
Clean up a clangalyzer warning in directory_remove_invalid
"At this point in the code, msg has been set to a string
constant. But the tor code checks that msg is not NULL, and the
redundant NULL check confuses the analyser[...] To avoid this
spurious warning, the patch initialises msg to NULL."
Patch from teor. another part of 13157.
Diffstat (limited to 'src/test/test_routerset.c')
0 files changed, 0 insertions, 0 deletions