From 4325ba01bfcc80a3909625610e3b9b08f407ea93 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 12 Feb 2013 23:36:57 -0500 Subject: [PATCH] Android: Initialize variable --- client/hostinfo_unix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/hostinfo_unix.cpp b/client/hostinfo_unix.cpp index d60015fd6f..c465456e24 100644 --- a/client/hostinfo_unix.cpp +++ b/client/hostinfo_unix.cpp @@ -464,6 +464,7 @@ void HOST_INFO::get_battery_status() { if (first) { first = false; + int i = 0; // Find the battery location for this device. // matszpk has already collected a bunch of battery locations.