summaryrefslogtreecommitdiff
path: root/output/outdbg.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2017-03-31 11:41:16 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2017-03-31 11:41:16 -0700
commitac06133ed24c10137d43fe5bc3440dcc8cadd594 (patch)
tree259d799a70c525f2e41dee69a182d6c4ca8093ba /output/outdbg.c
parent31a14699fbed67b7cc3a47d1053a973322c172aa (diff)
downloadnasm-ac06133ed24c10137d43fe5bc3440dcc8cadd594.tar.gz
output: remove the completely unused set_info method
Every single backend has this method set to NULL. It is also a rather strange interface. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'output/outdbg.c')
-rw-r--r--output/outdbg.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/output/outdbg.c b/output/outdbg.c
index 20088ba9..5608b446 100644
--- a/output/outdbg.c
+++ b/output/outdbg.c
@@ -321,13 +321,6 @@ static void dbg_filename(char *inname, char *outname)
standard_extension(inname, outname, ".dbg");
}
-static int dbg_set_info(enum geninfo type, char **val)
-{
- (void)type;
- (void)val;
- return 0;
-}
-
static const char * const types[] = {
"unknown", "label", "byte", "word", "dword", "float", "qword", "tbyte"
};
@@ -405,7 +398,6 @@ const struct ofmt of_dbg = {
&debug_debug_form,
NULL,
dbg_init,
- dbg_set_info,
dbg_out,
dbg_legacy_out,
dbg_deflabel,