From: uz Date: Fri, 6 Jul 2012 20:02:43 +0000 (+0000) Subject: Fixed compiler warnings. X-Git-Tag: V2.14~306 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cd4f87b2cc521b039fc4a32dac76a8b099b6bc62;p=cc65 Fixed compiler warnings. git-svn-id: svn://svn.cc65.org/cc65/trunk@5765 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/coptstop.c b/src/cc65/coptstop.c index 03ca80b41..90e040c46 100644 --- a/src/cc65/coptstop.c +++ b/src/cc65/coptstop.c @@ -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 {