Commit e541ee45 authored by Mark Andrews's avatar Mark Andrews
Browse files

silence compiler warning

parent 396125ee
......@@ -126,7 +126,9 @@ inet_ntop6(const unsigned char *src, char *dst, size_t size)
for (i = 0; i < NS_IN6ADDRSZ; i++)
words[i / 2] |= (src[i] << ((1 - (i % 2)) << 3));
best.base = -1;
best.len = 0; /* silence compiler */
cur.base = -1;
cur.len = 0; /* silence compiler */
for (i = 0; i < (NS_IN6ADDRSZ / NS_INT16SZ); i++) {
if (words[i] == 0) {
if (cur.base == -1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment