Always initialize addr in parse_port_config()

It was always analyzed before use, but scan-build wasn't able to
persuade itself of that.

Closes ticket 28881.
This commit is contained in:
Nick Mathewson
2018-12-17 09:38:42 -05:00
parent 94a7998158
commit 4894d44ab8
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
o Code simplification and refactoring:
- When parsing a port configuration, make it more
obvious to static analyzer tools that we will always initialize the
address. Closes ticket 28881.