From f6b5bf967bf310adb21269fc9b9c50801e7e4193 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 11 Jul 2011 11:17:48 +1000 Subject: Avoid shadowing of fields even for static methods to stop warnings. --- src/PositionCache.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/PositionCache.cxx') diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index 8a195caac..2105c292f 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -542,16 +542,16 @@ bool PositionCacheEntry::Retrieve(unsigned int styleNumber_, const char *s_, } } -int PositionCacheEntry::Hash(unsigned int styleNumber, const char *s, unsigned int len) { +int PositionCacheEntry::Hash(unsigned int styleNumber_, const char *s, unsigned int len_) { unsigned int ret = s[0] << 7; - for (unsigned int i=0; i