Util: Placate coverity a bit

This commit is contained in:
Vicki Pfau 2023-04-05 04:56:26 -07:00
parent efcdd29109
commit a69f95bcb6
1 changed files with 3 additions and 0 deletions

View File

@ -277,6 +277,9 @@ uint32_t mImageGetPixelRaw(const struct mImage* image, unsigned x, unsigned y) {
color |= ((const uint8_t*) pixel)[2] << 16; color |= ((const uint8_t*) pixel)[2] << 16;
#endif #endif
break; break;
default:
// This should never be reached
abort();
} }
return color; return color;
} }