summaryrefslogtreecommitdiff
path: root/src/cairo-botor-scan-converter.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <enrico.weigelt@gr13.net>2016-06-30 17:45:42 +0200
committerUli Schlachter <psychon@znc.in>2016-07-02 13:27:11 +0200
commitae403448af410984852aeff76278dc96e7141b9e (patch)
tree955236aa74892477212ea58b9c1cd04e5e1b373a /src/cairo-botor-scan-converter.c
parent1272db90f85cf031e5d2ffb73d1af1259c9d4fb9 (diff)
downloadcairo-ae403448af410984852aeff76278dc96e7141b9e.tar.gz
core: fix compiler warnings
The code correct, but the compiler can't check that and thinks there're uninitialized variables. Perhaps we could rewrite it in a better way, so the compiler can do better (even arch specific) optimizations. Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt@gr13.net> Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-botor-scan-converter.c')
-rw-r--r--src/cairo-botor-scan-converter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-botor-scan-converter.c b/src/cairo-botor-scan-converter.c
index e23aefef1..64883a6fa 100644
--- a/src/cairo-botor-scan-converter.c
+++ b/src/cairo-botor-scan-converter.c
@@ -456,7 +456,7 @@ edges_compare_x_for_y (const cairo_edge_t *a,
HAVE_BX = 0x2,
HAVE_BOTH = HAVE_AX | HAVE_BX
} have_ax_bx = HAVE_BOTH;
- int32_t ax, bx;
+ int32_t ax = 0, bx = 0;
/* XXX given we have x and dx? */