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

This commit is contained in:
Marcus Meissner 2008-01-09 22:56:06 +01:00 committed by Alexandre Julliard
parent a54150bc53
commit 368d935350
1 changed files with 1 additions and 1 deletions

View File

@ -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;