Fix a GCC "potential null dereference" warning.

Fixes bug 26269; bugfix on c30be5a82d in 0.2.8.2-alpha
This commit is contained in:
Nick Mathewson
2018-06-13 10:34:53 -04:00
parent ef671147f2
commit 015fcd0e11
2 changed files with 14 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
o Minor bugfixes (compilation):
- Fix a compilation warning on some versions of GCC when
building code that calls routerinfo_get_my_routerinfo() twice,
assuming that the second call will succeed if the first one did.
Fixes bug 26269; bugfix on 0.2.8.2-alpha.