summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2017-09-05 14:18:10 +0100
committerKen Sharp <ken.sharp@artifex.com>2017-09-05 14:18:10 +0100
commit9a6045cc4c7843ee8608c1d4a2fb76e8a10a6581 (patch)
tree36982a2c3790ae44901c3bd0349233af6e1d63de
parent7dd033589ce40649ab602fba4c0473aa40c48439 (diff)
downloadghostpdl-9a6045cc4c7843ee8608c1d4a2fb76e8a10a6581.tar.gz
Coverity ID 95054
Explicitly initialise a member of the new 'order' structure.
-rw-r--r--base/gxdhtserial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gxdhtserial.c b/base/gxdhtserial.c
index be697c312..6638dfc19 100644
--- a/base/gxdhtserial.c
+++ b/base/gxdhtserial.c
@@ -297,6 +297,7 @@ gx_ht_read_component(
if (data >= data_lim)
return_error(gs_error_rangecheck);
new_order.procs = &ht_order_procs_table[*data++];
+ new_order.threshold_inverted = 0;
/* calculate the space required for levels and bit data */
levels_size = new_order.num_levels * sizeof(new_order.levels[0]);