summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-10-13 21:56:36 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-10-13 21:56:36 +0000
commita43ace55eae8e80bbb92371656f7bb889351a742 (patch)
tree74813e7f670db3fba1d25145d02e5a4e7ef9b40b /apps
parent7d6c73a1c1addec6f537541afc7f8632473b3103 (diff)
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/resistor.c2
1 files changed, 1 insertions, 1 deletions
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;