From 22cb702b18120984b82d833640ad04bc9438ea7c Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sun, 8 Dec 2019 12:23:44 +0100 Subject: [PATCH] 1 less (stupid) warning in Load_TNY() --- src/stformats.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/stformats.c b/src/stformats.c index 490df6df..4f73e883 100644 --- a/src/stformats.c +++ b/src/stformats.c @@ -1221,7 +1221,7 @@ void Load_TNY(T_IO_Context * context) { enum PIXEL_RATIO ratio = PIXEL_SIMPLE; word width = 640, height = 200; - byte bpp; + byte bpp = 4; byte cycling_range = 0; byte cycling_speed = 0; word duration = 0; @@ -1231,7 +1231,6 @@ void Load_TNY(T_IO_Context * context) case 0: case 3: width = 320; - bpp = 4; break; case 1: case 4: