X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a0f0f462f4bce813af5fd7d26d61f2109d0025e..98c9096992dfc5e8149d0bf1b7d0de51a7979075:/src/common/image.cpp diff --git a/src/common/image.cpp b/src/common/image.cpp index 2c61998e6d..66caa08174 100644 --- a/src/common/image.cpp +++ b/src/common/image.cpp @@ -2880,10 +2880,6 @@ wxImage::HSVValue wxImage::RGBtoHSV(const RGBValue& rgb) case BLUE: hue = 4.0 + (red - green) / deltaRGB; break; - - default: - wxFAIL_MSG(wxT("hue not specified")); - break; } hue /= 6.0;