]> git.sur5r.net Git - cc65/commitdiff
Fixed compiler warnings.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 6 Jul 2012 20:02:43 +0000 (20:02 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 6 Jul 2012 20:02:43 +0000 (20:02 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5765 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/coptstop.c

index 03ca80b412bd0db3018d07fa7c9ed8aa8bb51015..90e040c4614b429bee72f99a956fd918de8358f9 100644 (file)
@@ -1645,7 +1645,7 @@ static const OptFuncDesc FuncTable[] = {
     { "tosaddax",   Opt_tosaddax,  REG_NONE, OP_NONE                    },
     { "tosandax",   Opt_tosandax,  REG_NONE, OP_NONE                    },
     { "tosaslax",   Opt_tosaslax,  REG_NONE, OP_NONE                    },
-#if 0 
+#if 0
     /* Library routine missing */
     { "tosasrax",   Opt_tosasrax,  REG_NONE, OP_NONE                    },
 #endif
@@ -1851,8 +1851,8 @@ unsigned OptStackOps (CodeSeg* S)
     StackOpData         Data;
     int                 I;
     int                 OldEntryCount;  /* Old number of entries */
-    unsigned            UsedRegs;       /* Registers used */
-    unsigned            ChangedRegs;    /* Registers changed */
+    unsigned            UsedRegs = 0;   /* Registers used */
+    unsigned            ChangedRegs = 0;/* Registers changed */
 
 
     enum {