From: cuz Date: Tue, 15 Jun 2004 21:24:47 +0000 (+0000) Subject: Removed the undocumented, obsolete and unused OptDisable flagset X-Git-Tag: V2.12.0~700 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d01687fd828d286a96a5164ee8dead6b5d3e0f14;p=cc65 Removed the undocumented, obsolete and unused OptDisable flagset git-svn-id: svn://svn.cc65.org/cc65/trunk@3132 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/global.c b/src/cc65/global.c index 1c70a0e86..1d2847d41 100644 --- a/src/cc65/global.c +++ b/src/cc65/global.c @@ -47,7 +47,6 @@ unsigned char AddSource = 0; /* Add source lines as comments */ unsigned char DebugInfo = 0; /* Add debug info to the obj */ unsigned char CreateDep = 0; /* Create a dependency file */ unsigned char ANSI = 0; /* Strict ANSI flag */ -unsigned long OptDisable = 0; /* Optimizer passes to disable */ unsigned RegisterSpace = 6; /* Space available for register vars */ /* Stackable options */ diff --git a/src/cc65/global.h b/src/cc65/global.h index 42e921636..7cec820bf 100644 --- a/src/cc65/global.h +++ b/src/cc65/global.h @@ -53,7 +53,6 @@ extern unsigned char AddSource; /* Add source lines as comments */ extern unsigned char DebugInfo; /* Add debug info to the obj */ extern unsigned char CreateDep; /* Create a dependency file */ extern unsigned char ANSI; /* Strict ANSI flag */ -extern unsigned long OptDisable; /* Optimizer passes to disable */ extern unsigned RegisterSpace; /* Space available for register vars */ /* Stackable options */ diff --git a/src/cc65/main.c b/src/cc65/main.c index 884b079ce..be953294a 100644 --- a/src/cc65/main.c +++ b/src/cc65/main.c @@ -808,9 +808,6 @@ int main (int argc, char* argv[]) P = Arg + 2; while (*P) { switch (*P++) { - case 'f': - sscanf (P, "%lx", (long*) &OptDisable); - break; case 'i': IS_Set (&CodeSizeFactor, 200); break;