winedump: Check return value of fetch_block (Coverity).

This commit is contained in:
Marcus Meissner 2008-02-19 22:46:04 +01:00 committed by Alexandre Julliard
parent 1eb52667ac
commit 8063d6572b
1 changed files with 2 additions and 0 deletions

View File

@ -425,6 +425,8 @@ void lnk_dump(void)
offset = 0; offset = 0;
hdr = fetch_block(); hdr = fetch_block();
if (!hdr)
return;
printf("Header\n"); printf("Header\n");
printf("------\n\n"); printf("------\n\n");