fixed compiler warning in libfreeswan
authorMartin Willi <martin@strongswan.org>
Fri, 28 Mar 2008 11:46:30 +0000 (11:46 -0000)
committerMartin Willi <martin@strongswan.org>
Fri, 28 Mar 2008 11:46:30 +0000 (11:46 -0000)
src/libfreeswan/ttoaddr.c

index 6e1ff44..c228f5a 100644 (file)
@@ -320,7 +320,7 @@ size_t srclen;                      /* known to be >0 */
 ip_address *dst;
 {
        const char *stop = src + srclen;        /* just past end */
-       unsigned piece;
+       unsigned piece = 0;
        int gapat;              /* where was empty piece seen */
        err_t oops;
 #      define  NPIECES 8