summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2012-11-09 19:09:39 +0100
committerBertrik Sikken <bertrik@sikken.nl>2012-11-09 19:09:39 +0100
commit1272e8529956e0e4c73ee9cd61a401bdd20dc2d7 (patch)
treec422ffd87b2b9b4ee2b9b4873d5d0dba8a40d4d3 /firmware
parent6242d9f7fc650796f526939870ffcd0bb2ed3d8f (diff)
downloadrockbox-1272e8529956e0e4c73ee9cd61a401bdd20dc2d7.tar.gz
rockbox-1272e8529956e0e4c73ee9cd61a401bdd20dc2d7.zip
Fix uninitialized variable in decoding of RDS radio text
Change-Id: Ifc678166ac70cc8fc76897c76ccbc4bc3f88cc14
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/rds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/rds.c b/firmware/drivers/rds.c
index ea426105c4..2f296cdbe8 100644
--- a/firmware/drivers/rds.c
+++ b/firmware/drivers/rds.c
@@ -149,7 +149,7 @@ static bool handle_rt(int pos, char c)
149static bool handle_group2(uint16_t data[4]) 149static bool handle_group2(uint16_t data[4])
150{ 150{
151 int abflag, segment, version, pos; 151 int abflag, segment, version, pos;
152 bool done; 152 bool done = false;
153 153
154 /* remove obsolete segments */ 154 /* remove obsolete segments */
155 for(int i = 0; i < 16; i++) 155 for(int i = 0; i < 16; i++)