From 81f2be58c126f412014dd13cdc52459a3e345211 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 30 Apr 2013 13:09:57 +0200 Subject: [PATCH] Initialize variable --- src/jogshuttle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jogshuttle.cpp b/src/jogshuttle.cpp index 04ee7360..ede869ea 100644 --- a/src/jogshuttle.cpp +++ b/src/jogshuttle.cpp @@ -105,7 +105,7 @@ void ShuttleThread::run() fd_set readset; struct timeval timeout; - int num_warnings, readResult = 0; + int num_warnings = 0, readResult = 0; int result, iof = -1; /* get fd settings */ -- 2.39.2