diff --git a/src/cg.c b/src/cg.c index 88dd264..beb538e 100644 --- a/src/cg.c +++ b/src/cg.c @@ -93,7 +93,7 @@ static bool is_censored_cg(int no) { } static void cg_mosaic(cgdata *cg) { - Uint32 format; + Uint32 format = 0; switch (cg->depth) { case 8: format = SDL_PIXELFORMAT_INDEX8;