all repos — mgba @ d6a4fbd25ae01d2982f4b2c9370c72813daa4d14

mGBA Game Boy Advance Emulator

Squelch a compiler warning about an uninitialized variable
Jeffrey Pfau jeffrey@endrift.com
Fri, 31 Jan 2014 02:27:17 -0800
commit

d6a4fbd25ae01d2982f4b2c9370c72813daa4d14

parent

f8449482de840c31d4727b6d986049982cc1028d

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gba/renderers/video-software.csrc/gba/renderers/video-software.c

@@ -1104,6 +1104,7 @@ int mosaicH = renderer->mosaic.bgH + 1; \

int x; \ int mosaicWait = outX % mosaicH; \ int carryData = 0; \ + paletteData = 0; /* Quiets compiler warning */ \ DRAW_BACKGROUND_MODE_0_MOSAIC_ ## BPP (BLEND, OBJWIN) \ return; \ } \