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:
parent
8f8c2a621d
commit
3b3e16c4e4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue