From 7b9fa8d7eb60950401065a81efffebd10d84309a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 12 Feb 2017 20:31:18 +0000 Subject: fix plotter merge --- desktop/knockout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/knockout.c') diff --git a/desktop/knockout.c b/desktop/knockout.c index 96e7b1a45..3647a3a7b 100644 --- a/desktop/knockout.c +++ b/desktop/knockout.c @@ -262,7 +262,7 @@ static nserror knockout_plot_flush(const struct redraw_context *ctx) { int i; struct knockout_box *box; - nserror res; /* operation result */ + nserror res = NSERROR_OK; /* operation result */ nserror ffres = NSERROR_OK; /* first failing result */ /* debugging information */ @@ -616,7 +616,7 @@ knockout_plot_polygon(const struct redraw_context *ctx, unsigned int n) { int *dest; - nserror res; + nserror res = NSERROR_OK; nserror ffres = NSERROR_OK; /* ensure we have sufficient room even when flushed */ -- cgit v1.2.3