projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78110e7
)
dtudcfonted/gpftobdf.c: coverity CIDs 87073,87008,87029,86919,86898,86715; uninit...
author
Jon Trulson
<jon@radscan.com>
Sun, 1 Apr 2018 20:38:05 +0000
(14:38 -0600)
committer
Jon Trulson
<jon@radscan.com>
Sun, 1 Apr 2018 20:42:38 +0000
(14:42 -0600)
cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c
b/cde/programs/dtudcfonted/dtgpftobdf/gpftobdf.c
index c7d59d8fb5cc3be52324f1cac7e1609e509b4cd0..565f30a61779b10785d9751aff395a3fec52b637 100644
(file)
--- 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 ;