From: uz Date: Sat, 26 Sep 2009 18:54:00 +0000 (+0000) Subject: Comment out the RegVal function using #if to get rid of the compiler warning X-Git-Tag: V2.13.0rc1~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e80cb241644942d24f7df0e644b1db1e8ba8dc18;p=cc65 Comment out the RegVal function using #if to get rid of the compiler warning about an unused function. git-svn-id: svn://svn.cc65.org/cc65/trunk@4237 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/coptind.c b/src/cc65/coptind.c index 2dd0aaa54..cf43d44b1 100644 --- a/src/cc65/coptind.c +++ b/src/cc65/coptind.c @@ -183,7 +183,8 @@ static short ZPRegVal (unsigned short Use, const RegContents* RC) } - + +#if 0 /* Currently unused */ static short RegVal (unsigned short Use, const RegContents* RC) /* Return the contents of the given register */ { @@ -197,6 +198,7 @@ static short RegVal (unsigned short Use, const RegContents* RC) return ZPRegVal (Use, RC); } } +#endif