emile: fallthrough is legal here as we handle fallback case when caller doesn't know about GRY8.

This commit is contained in:
Cedric BAIL 2017-06-05 11:54:54 -07:00
parent 2995cc16b7
commit 7afbe91ca5
1 changed files with 4 additions and 0 deletions

View File

@ -1844,6 +1844,10 @@ _emile_jpeg_data(Emile_Image *image,
cinfo.out_color_space = JCS_GRAYSCALE; cinfo.out_color_space = JCS_GRAYSCALE;
break; break;
} }
/* The caller doesn't handle GRAYSCALE,
* fallback to RGB.
*/
EINA_FALLTHROUGH;
case JCS_RGB: case JCS_RGB:
case JCS_YCbCr: case JCS_YCbCr: