From 836935fba2ca234896da98dc2a2868d8fbedb4d1 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Sat, 1 Dec 2012 23:14:52 +0100 Subject: [PATCH] Remove unused omit-nullbytes code in code.c --- code.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code.c b/code.c index 052b13a..9b724cf 100644 --- a/code.c +++ b/code.c @@ -48,10 +48,6 @@ void code_init() { code_entfields = 0; - /* omit creation of null code */ - if (OPTS_FLAG(OMIT_NULL_BYTES)) - return; - /* * The way progs.dat is suppose to work is odd, there needs to be * some null (empty) statements, functions, and 28 globals @@ -146,8 +142,6 @@ bool code_write(const char *filename, const char *lnofile) { FILE *fp = NULL; size_t it = 2; - /* see proposal.txt */ - if (OPTS_FLAG(OMIT_NULL_BYTES)) {} code_header.statements.offset = sizeof(prog_header); code_header.statements.length = vec_size(code_statements); code_header.defs.offset = code_header.statements.offset + (sizeof(prog_section_statement) * vec_size(code_statements)); -- 2.39.2