[PATCH 2/2] tools: Fix compiler warning
Emmanuele Bassi
ebassi at gmail.com
Tue Feb 25 02:48:49 PST 2014
From: Emmanuele Bassi <ebassi at gnome.org>
Signed-off-by: Emmanuele Bassi <ebassi at gnome.org>
---
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;
--
1.8.5.3
More information about the Input-tools
mailing list