summaryrefslogtreecommitdiff
path: root/base/gdevmrun.c
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2020-10-02 15:03:32 +0100
committerChris Liddell <chris.liddell@artifex.com>2020-10-06 17:28:03 +0100
commit9666e6206135b637b7545f074a25969972662252 (patch)
tree79ae8e103ed5eb8f9ac2b811adb1d21a7c3abe2d /base/gdevmrun.c
parent5e85cde6eb20fc1f6ae13c69f80cc800cbacf164 (diff)
downloadghostpdl-9666e6206135b637b7545f074a25969972662252.tar.gz
Squash a compiler warning (uninitialized variable)
Diffstat (limited to 'base/gdevmrun.c')
-rw-r--r--base/gdevmrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gdevmrun.c b/base/gdevmrun.c
index fb63fe72f..7c2252091 100644
--- a/base/gdevmrun.c
+++ b/base/gdevmrun.c
@@ -529,6 +529,7 @@ run_fill_interval(run_line *line, int xo, int xe, run_value new)
)
RP_LENGTH(rp0) += left;
else {
+ run_ptr rpn = {0};
/*
* If we need more than one run, we divide up the length to
* create more runs with length less than MAX_RUN_LENGTH in
@@ -547,7 +548,6 @@ run_fill_interval(run_line *line, int xo, int xe, run_value new)
len = (left + pieces - 1) / pieces;
}
do {
- run_ptr rpn;
/*
* The allocation in rp_insert_next can't fail, because