summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framebuffer/fb_plotters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/framebuffer/fb_plotters.c b/framebuffer/fb_plotters.c
index 22bc79eb2..b6e16f7b2 100644
--- a/framebuffer/fb_plotters.c
+++ b/framebuffer/fb_plotters.c
@@ -234,7 +234,7 @@ static bool fb_plotters_find_span(const int *p, int n, int x, int y,
int p_x0, p_y0;
int p_x1, p_y1;
int x_new;
- bool direction;
+ bool direction = false;
*x0 = *x1 = INT_MAX;