]> git.sur5r.net Git - cc65/blobdiff - src/cc65/main.c
Working on the new backend
[cc65] / src / cc65 / main.c
index fd460b69b34f79e0630e4fea448018533b7fd3b2..6f3d0bbcfb009daf2802c8dba25aa046d455f8a3 100644 (file)
@@ -58,7 +58,6 @@
 #include "incpath.h"
 #include "input.h"
 #include "macrotab.h"
-#include "optimize.h"
 #include "scanner.h"
 #include "segname.h"
 
@@ -568,8 +567,8 @@ int main (int argc, char* argv[])
                    P = Arg + 2;
                    while (*P) {
                        switch (*P++) {
-                           case 'f':
-                               sscanf (P, "%lx", (long*) &OptDisable);
+                           case 'f':
+                               sscanf (P, "%lx", (long*) &OptDisable);
                                break;
                            case 'i':
                                FavourSize = 0;
@@ -637,10 +636,12 @@ int main (int argc, char* argv[])
 
        FILE* F;
 
-       /* Optimize the output if requested */
-       if (Optimize) {
-           OptDoOpt ();
-       }
+#if 0
+       /* Optimize the output if requested */
+       if (Optimize) {
+           OptDoOpt ();
+       }
+#endif
 
        /* Open the file */
        F = fopen (OutputFile, "w");