winedump: Avoid returning void from a void function.

This commit is contained in:
Dmitry Timoshkov 2006-12-07 21:42:54 +08:00 committed by Alexandre Julliard
parent 53e89174c0
commit 2d9046e209
1 changed files with 8 additions and 2 deletions

View File

@ -671,9 +671,15 @@ void pdb_dump(void)
/* init_types(); */ /* init_types(); */
head = PRD(0, sizeof(pdb2) - 1); head = PRD(0, sizeof(pdb2) - 1);
if (head && !memcmp(head, pdb2, sizeof(pdb2) - 1)) if (head && !memcmp(head, pdb2, sizeof(pdb2) - 1))
return pdb_jg_dump(); {
pdb_jg_dump();
return;
}
head = PRD(0, sizeof(pdb7) - 1); head = PRD(0, sizeof(pdb7) - 1);
if (head && !memcmp(head, pdb7, sizeof(pdb7) - 1)) if (head && !memcmp(head, pdb7, sizeof(pdb7) - 1))
return pdb_ds_dump(); {
pdb_ds_dump();
return;
}
printf("Unrecognized header %s\n", head); printf("Unrecognized header %s\n", head);
} }