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
ae525a8761
commit
b812839dfa
|
@ -407,7 +407,7 @@ static int trx_data_read_cb(struct osmo_fd *ofd, unsigned int what)
|
||||||
int len;
|
int len;
|
||||||
uint8_t tn;
|
uint8_t tn;
|
||||||
int8_t rssi;
|
int8_t rssi;
|
||||||
float toa;
|
float toa = 0.0;
|
||||||
uint32_t fn;
|
uint32_t fn;
|
||||||
sbit_t bits[148];
|
sbit_t bits[148];
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in New Issue