dnsapi: Remove a dead assignment (clang).

This commit is contained in:
Hans Leidekker 2012-02-03 10:47:42 +01:00 committed by Alexandre Julliard
parent 7fda67d74a
commit 06cd0e2a49

View file

@ -159,8 +159,7 @@ static char *dns_dname_from_msg( ns_msg msg, const unsigned char *pos )
char *str, dname[NS_MAXDNAME] = ".";
/* returns *compressed* length, ignore it */
len = dns_ns_name_uncompress( ns_msg_base( msg ), ns_msg_end( msg ),
pos, dname, sizeof(dname) );
dns_ns_name_uncompress( ns_msg_base(msg), ns_msg_end(msg), pos, dname, sizeof(dname) );
len = strlen( dname );
str = heap_alloc( len + 1 );