From c75d0b5fab5f3143099de1c80e25e611d32b8525 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 24 Jan 2010 19:54:15 +0000 Subject: Hopefully fix gcc 4.2.4 stuff. svn path=/trunk/libnsfb/; revision=9902 --- src/plot/generic.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/plot/generic.c b/src/plot/generic.c index c328220..429d231 100644 --- a/src/plot/generic.c +++ b/src/plot/generic.c @@ -133,6 +133,8 @@ static bool find_span(const int *p, int n, int x, int y, int *x0, int *x1) bool found_span_start = false; x0_min = x1_min = INT_MIN; + x0c = x1c = 0; + *x0 = *x1 = INT_MAX; /* search row for next span, returning it if one exists */ do { -- cgit v1.2.3