trx: fix potential use of uninitialized toa variable.

Not really a bug, as we're smart about it down the stream, but it's better to
be strict here as well.
This commit is contained in:
Alexander Chemeris 2015-06-15 00:40:27 -04:00
parent 8f8c2a621d
commit 3b3e16c4e4
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ static int trx_data_read_cb(struct osmo_fd *ofd, unsigned int what)
int len;
uint8_t tn;
int8_t rssi;
float toa;
float toa = 0.0;
uint32_t fn;
sbit_t bits[148];
int i;