X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a0f0f462f4bce813af5fd7d26d61f2109d0025e..87f0b1323b7ac77f02133b836c8dfee63b0fd387:/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;