From 84d2d5034c5ccf85a0e1777b81d54ad303f8b33b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 25 Feb 2014 10:48:49 +0000 Subject: tools: Fix compiler warning Signed-off-by: Emmanuele Bassi Signed-off-by: Peter Hutterer --- tools/touchpad-edge-detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/touchpad-edge-detector.c b/tools/touchpad-edge-detector.c index 76f83e2..b857934 100644 --- a/tools/touchpad-edge-detector.c +++ b/tools/touchpad-edge-detector.c @@ -58,7 +58,7 @@ static int print_current_values(const struct dimensions *d) { static int progress; - char status; + char status = 0; switch (progress) { case 0: status = '|'; break; -- cgit v1.2.1