Commit 368d9353 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

server: Remove superflous check (value->data is dereferenced before check).

parent a54150bc
......@@ -204,7 +204,7 @@ static void dump_value( const struct key_value *value, FILE *f )
if (((WCHAR *)value->data)[value->len / sizeof(WCHAR) - 1]) break;
if (value->type != REG_SZ) fprintf( f, "str(%x):", value->type );
fputc( '\"', f );
if (value->data) dump_strW( (WCHAR *)value->data, value->len / sizeof(WCHAR), f, "\"\"" );
dump_strW( (WCHAR *)value->data, value->len / sizeof(WCHAR), f, "\"\"" );
fprintf( f, "\"\n" );
return;
......
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