summaryrefslogtreecommitdiff
path: root/desktop/knockout.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2017-02-12 20:31:18 +0000
committerVincent Sanders <vince@kyllikki.org>2017-02-12 20:31:18 +0000
commit7b9fa8d7eb60950401065a81efffebd10d84309a (patch)
treea47839a1a7a6b1dace9f4b229b58899a2be070cd /desktop/knockout.c
parent1666944c7e5c7a300ad0658b9654464ff2c11495 (diff)
downloadnetsurf-7b9fa8d7eb60950401065a81efffebd10d84309a.tar.gz
netsurf-7b9fa8d7eb60950401065a81efffebd10d84309a.tar.bz2
fix plotter merge
Diffstat (limited to 'desktop/knockout.c')
-rw-r--r--desktop/knockout.c4
1 files changed, 2 insertions, 2 deletions
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 */