mirror of https://github.com/mgba-emu/mgba.git
Util: Placate coverity a bit
This commit is contained in:
parent
efcdd29109
commit
a69f95bcb6
|
@ -277,6 +277,9 @@ uint32_t mImageGetPixelRaw(const struct mImage* image, unsigned x, unsigned y) {
|
|||
color |= ((const uint8_t*) pixel)[2] << 16;
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
// This should never be reached
|
||||
abort();
|
||||
}
|
||||
return color;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue