diff options
author | H. Peter Anvin <hpa@zytor.com> | 2016-03-07 22:53:06 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2016-03-07 22:55:43 -0800 |
commit | 477ae4419cb9ae9f20a2201e60ec4073a9922359 (patch) | |
tree | c270b1c0a69df32676d74fd8a3019ee53247494f /output/outdbg.c | |
parent | 3ab8c5f9c68278fd5a6f75e65dea0a4ba1e850aa (diff) | |
download | nasm-477ae4419cb9ae9f20a2201e60ec4073a9922359.tar.gz |
ofmt: get rid of the debuginfo parameter to ofmt->cleanup()
Get rid of the completely pointless "debuginfo" parameter to
ofmt->cleanup(). Most backends completely ignore it, and the two that
care (obj, ieee) can simply test dfmt instead.
Also, dfmt is never NULL, so any test for a NULL dfmt is bogus.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output/outdbg.c')
-rw-r--r-- | output/outdbg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/output/outdbg.c b/output/outdbg.c index 83860abd..c68d1990 100644 --- a/output/outdbg.c +++ b/output/outdbg.c @@ -63,9 +63,8 @@ static void dbg_init(void) fprintf(ofile, "NASM Output format debug dump\n"); } -static void dbg_cleanup(int debuginfo) +static void dbg_cleanup(void) { - (void)debuginfo; dfmt->cleanup(); while (dbgsect) { struct Section *tmp = dbgsect; |