summaryrefslogtreecommitdiff
path: root/firmware/drivers/rds.c
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/drivers/rds.c
parent6242d9f7fc650796f526939870ffcd0bb2ed3d8f (diff)
Fix uninitialized variable in decoding of RDS radio text
Change-Id: Ifc678166ac70cc8fc76897c76ccbc4bc3f88cc14
Diffstat (limited to 'firmware/drivers/rds.c')
-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)
static bool handle_group2(uint16_t data[4])
{
int abflag, segment, version, pos;
- bool done;
+ bool done = false;
/* remove obsolete segments */
for(int i = 0; i < 16; i++)