diff options
| author | nyamatongwe <unknown> | 2012-02-14 19:14:59 +1100 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2012-02-14 19:14:59 +1100 | 
| commit | e2e3d8c8e2df15b58fab4d142fa9fefa07a9e53e (patch) | |
| tree | 1a28039983ac341f571a66211f791aa6ab3a0600 | |
| parent | 0fb492708fc160fc694e83bb934de3319e74a50b (diff) | |
| download | scintilla-mirror-e2e3d8c8e2df15b58fab4d142fa9fefa07a9e53e.tar.gz | |
Removed dead code as it was producing warnings.
| -rw-r--r-- | src/XPM.cxx | 8 | 
1 files changed, 0 insertions, 8 deletions
| diff --git a/src/XPM.cxx b/src/XPM.cxx index b63eb1550..aeb94a9c6 100644 --- a/src/XPM.cxx +++ b/src/XPM.cxx @@ -47,14 +47,6 @@ ColourDesired XPM::ColourDesiredFromCode(int ch) const {  ColourDesired XPM::ColourFromCode(int ch) const {  	return *colourCodeTable[ch]; -#ifdef SLOW -	for (int i=0; i<nColours; i++) { -		if (codes[i] == ch) { -			return colours[i].allocated; -		} -	} -	return colours[0].allocated; -#endif  }  void XPM::FillRun(Surface *surface, int code, int startX, int y, int x) { | 
