orc: Remove unused variable
authorEdward Hervey <bilboed@bilboed.com>
Fri, 11 Apr 2014 13:58:17 +0000 (15:58 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 11 Apr 2014 13:58:17 +0000 (15:58 +0200)
include_file was never used in these variants since they were
added.

CID #1146970
CID #1146969

orc/generate-bytecode.c
orc/generate-emulation.c

index 795a1e4..9e3c19c 100644 (file)
@@ -45,7 +45,6 @@ main (int argc, char *argv[])
 {
   char *output_file = NULL;
   char *input_file = NULL;
-  char *include_file = NULL;
   FILE *output;
   int i;
   OrcOpcodeSet *opcode_set;
@@ -97,9 +96,6 @@ main (int argc, char *argv[])
   if (output_header) {
     fprintf(output, "#include <math.h>\n");
     fprintf(output, "#include <orc/orc.h>\n");
-    if (include_file) {
-      fprintf(output, "#include <%s>\n", include_file);
-    }
     fprintf(output, "\n");
 
     fprintf(output, "typedef enum {\n");
index 09c2776..0602e81 100644 (file)
@@ -46,7 +46,6 @@ main (int argc, char *argv[])
 {
   char *output_file = NULL;
   char *input_file = NULL;
-  char *include_file = NULL;
   FILE *output;
   int i;
   OrcOpcodeSet *opcode_set;
@@ -116,9 +115,6 @@ main (int argc, char *argv[])
     fprintf(output, "#endif\n");
     fprintf(output, "#include <math.h>\n");
     fprintf(output, "#include <orc/orc.h>\n");
-    if (include_file) {
-      fprintf(output, "#include <%s>\n", include_file);
-    }
     fprintf(output, "\n");
     fprintf(output, "%s", orc_target_get_asm_preamble ("c"));
     fprintf(output, "\n");