diff options
author | nyamatongwe <devnull@localhost> | 2012-02-14 19:14:59 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-02-14 19:14:59 +1100 |
commit | ab0a84caf6a80667612dca9484c4f39e536a6413 (patch) | |
tree | 2a1b94ea45ef38ae7f8f00586407ab5971712c81 | |
parent | 38b4ddef3be0a24cf3851ef6d8f721783960ab4a (diff) | |
download | scintilla-mirror-ab0a84caf6a80667612dca9484c4f39e536a6413.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) { |