summaryrefslogtreecommitdiff
path: root/src/analysis/db
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-10-20 21:44:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-10-20 21:44:30 (GMT)
commite8009661bc2a647678b944a09ee3a7e218692e44 (patch)
tree133934e85bf05314dadd8654ed0fb344cf5732d2 /src/analysis/db
parent43b19e1c8e902e6e96a5ca912497268a19255ac5 (diff)
Fixed some compilation warnings.
Diffstat (limited to 'src/analysis/db')
-rw-r--r--src/analysis/db/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analysis/db/server.c b/src/analysis/db/server.c
index 252fcb3..258a66c 100644
--- a/src/analysis/db/server.c
+++ b/src/analysis/db/server.c
@@ -548,7 +548,10 @@ GHubServer *g_hub_server_new_remote(const char *host, const char *port, bool ipv
}
else
+ {
assert(false);
+ ip = NULL;
+ }
if (ip == NULL)
{