From a958af1627a33edcf08b285123507229fb072e56 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Wed, 18 Jan 2023 11:47:00 -0800 Subject: [PATCH] Resolve warning: variable may be uninitialized when used - initialize more variables. --- src/bbtsub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bbtsub.c b/src/bbtsub.c index 4730375..f8c5d12 100644 --- a/src/bbtsub.c +++ b/src/bbtsub.c @@ -894,13 +894,13 @@ LispPTR bitshade_bitmap(LispPTR *args) { LispPTR clipreg; int right, top, destbits, left, bottom; LispPTR operation, texture; - DLword *srcbase, *dstbase, *base; + DLword *srcbase = NULL, *dstbase = NULL, *base = NULL; int dty, slx, dstbpl, op, src_comp; #ifdef REALCURSOR int displayflg = 0; #endif int rasterwidth; - int num_gray, curr_gray_line; + int num_gray = 0, curr_gray_line = 0; DLword grayword[4] = {0, 0, 0, 0}; texture = args[0];