From: Jon Trulson Date: Sun, 1 Apr 2018 20:38:05 +0000 (-0600) Subject: dtudcfonted/gpftobdf.c: coverity CIDs 87073,87008,87029,86919,86898,86715; uninit... X-Git-Tag: 2.2.4a~144 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=03ba4e454ce80faefa45194186c7f7cfffde3989;p=oweals%2Fcde.git dtudcfonted/gpftobdf.c: coverity CIDs 87073,87008,87029,86919,86898,86715; uninit scalar --- diff --git a/cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c b/cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c index c7d59d8f..565f30a6 100644 --- a/cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c +++ b/cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c @@ -1332,17 +1332,17 @@ pCHARS_pcf (pcf, fix) PcfTmp *pcf; int fix ; { - char *bmp_ptn; - char *bitmap; - int ptn_width, ptn_height; - int bmp_width, bmp_height; - int cpy_height; + char *bmp_ptn = NULL; + char *bitmap = NULL; + int ptn_width = 0, ptn_height = 0; + int bmp_width = 0, bmp_height = 0; + int cpy_height = 0; int row, col; int row_width; int encoding; int encodingOffset; int nencoding; - int bmp_adj, ptn_adj; + int bmp_adj = 0, ptn_adj = 0; int adj_hi; int width_bytes; INT16 bl, br, ba, bd, bdw ;