From a43ace55eae8e80bbb92371656f7bb889351a742 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Wed, 13 Oct 2010 21:56:36 +0000 Subject: [PATCH] Resistor calculator: Initialise variable to make the compiler shut up about it (it's always initialised, but the compiler won't know that) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28276 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/resistor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/resistor.c b/apps/plugins/resistor.c index 635e3cdb31..c5ebb98c62 100644 --- a/apps/plugins/resistor.c +++ b/apps/plugins/resistor.c @@ -791,7 +791,7 @@ static void resistance_to_color(void) int temp; int in_resistance_int; - int power_ten; + int power_ten=0; int first_band_int = 0; int second_band_int = 0;