server: Remove superflous check (value->data is dereferenced before check).
This commit is contained in:
parent
a54150bc53
commit
368d935350
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue