diff options
| author | nyamatongwe <unknown> | 2011-02-28 13:04:34 +1100 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-02-28 13:04:34 +1100 | 
| commit | f67325b4e01ae0c4656927663f9d03c985119e92 (patch) | |
| tree | 28765c6ac5c413f33cf6588e089de976150de343 /lexlib/CharacterSet.h | |
| parent | 20f85b2905da617a55328fd56b4a6b485e9aeace (diff) | |
| download | scintilla-mirror-f67325b4e01ae0c4656927663f9d03c985119e92.tar.gz | |
Avoid shadowed variables as reported by Xcode.
Diffstat (limited to 'lexlib/CharacterSet.h')
| -rw-r--r-- | lexlib/CharacterSet.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lexlib/CharacterSet.h b/lexlib/CharacterSet.h index 18cb0aa93..72405606a 100644 --- a/lexlib/CharacterSet.h +++ b/lexlib/CharacterSet.h @@ -50,8 +50,8 @@ public:  		assert(val < size);  		bset[val] = true;  	} -	void AddString(const char *CharacterSet) { -		for (const char *cp=CharacterSet; *cp; cp++) { +	void AddString(const char *setToAdd) { +		for (const char *cp=setToAdd; *cp; cp++) {  			int val = static_cast<unsigned char>(*cp);  			assert(val >= 0);  			assert(val < size); | 
