summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryce W. Harrington <b.harrington@samsung.com>2013-06-20 03:18:45 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-06-20 10:57:57 +0100
commitf893acd60df816f3e0282affef6b58f59f84f48a (patch)
tree7a8decd5f7dfb3f8d3c8688d68039c033066d4bc /src
parent519dff51db30e157f52ef5244a3afeea06340ff8 (diff)
type1-subset: Quell warning about uninitialized array_start
Since we explicitly set font->subset_subrs to false, there's no way the warned code will be executed, but perhaps the compiler is confused by the goto jump. Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/cairo-type1-subset.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c
index 383c99add..a2ba13eec 100644
--- a/src/cairo-type1-subset.c
+++ b/src/cairo-type1-subset.c
@@ -1306,6 +1306,7 @@ cairo_type1_font_subset_write_private_dict (cairo_type1_font_subset_t *font,
if (subrs == NULL) {
font->subset_subrs = FALSE;
p = font->cleartext;
+ array_start = NULL;
goto skip_subrs;
}