From: Henrique Dante de Almeida Date: Tue, 8 May 2012 19:20:56 +0000 (-0300) Subject: dnsproxy: Remove dead assignment X-Git-Tag: 1.1~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff6065619488984706b59256d241e9f44cde0652;p=platform%2Fupstream%2Fconnman.git dnsproxy: Remove dead assignment --- diff --git a/src/dnsproxy.c b/src/dnsproxy.c index 4e08d1c..d1f5e9c 100644 --- a/src/dnsproxy.c +++ b/src/dnsproxy.c @@ -1201,7 +1201,6 @@ static int reply_query_type(unsigned char *msg, int len) /* now the query, which is a name and 2 16 bit words */ l = dns_name_length(c) + 1; c += l; - len -= l; w = (uint16_t *) c; type = ntohs(*w);