From e80cb241644942d24f7df0e644b1db1e8ba8dc18 Mon Sep 17 00:00:00 2001 From: uz Date: Sat, 26 Sep 2009 18:54:00 +0000 Subject: [PATCH] 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 --- src/cc65/coptind.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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