Commit 06cd0e2a authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

dnsapi: Remove a dead assignment (clang).

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