From: Schanzenbach, Martin Date: Sun, 24 Jun 2018 21:04:51 +0000 (+0200) Subject: uninitialized variable X-Git-Tag: v0.11.0~357^2~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=71cf61917a30ae60213802e4de6566a38410d246;p=oweals%2Fgnunet.git uninitialized variable --- diff --git a/src/gns/gnunet-service-gns_interceptor.c b/src/gns/gnunet-service-gns_interceptor.c index ecf4d59f5..42f3e1514 100644 --- a/src/gns/gnunet-service-gns_interceptor.c +++ b/src/gns/gnunet-service-gns_interceptor.c @@ -103,7 +103,7 @@ reply_to_dns (void *cls, uint32_t rd_count, unsigned int num_answers; unsigned int skip_answers; unsigned int skip_additional; - size_t off; + size_t off = 0; /* Put records in the DNS packet */ num_answers = 0;