From: Daniel Stenberg Date: Mon, 27 Dec 2010 12:13:19 +0000 (+0100) Subject: getv4: Value stored to 'dst' is never read X-Git-Tag: upstream/1.10.0~221 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39d7f64361fc5260df033c48811e61f24d198cbd;p=platform%2Fupstream%2Fc-ares.git getv4: Value stored to 'dst' is never read --- diff --git a/inet_net_pton.c b/inet_net_pton.c index d701a9f..aa6a59f 100644 --- a/inet_net_pton.c +++ b/inet_net_pton.c @@ -271,8 +271,8 @@ getv4(const char *src, unsigned char *dst, int *bitsp) return (0); if (dst - odst > 3) /* too many octets? */ return (0); - *dst++ = (unsigned char)val; - return (1); + *dst = (unsigned char)val; + return 1; } static int