From 03ba4e454ce80faefa45194186c7f7cfffde3989 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sun, 1 Apr 2018 14:38:05 -0600 Subject: [PATCH] dtudcfonted/gpftobdf.c: coverity CIDs 87073,87008,87029,86919,86898,86715; uninit scalar --- cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 ; -- 2.25.1