diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-06-15 00:40:27 -0400 |
---|---|---|
committer | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-07-20 18:44:00 -0400 |
commit | 3b3e16c4e4edac3ffc572ba8b754609e6a67c93f (patch) | |
tree | 95be3c24f2caf77328f351676b68c9edc4cee27a | |
parent | 8f8c2a621de1977c2684b2b70e06720ac850b858 (diff) |
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.
-rw-r--r-- | src/osmo-bts-trx/trx_if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-trx/trx_if.c b/src/osmo-bts-trx/trx_if.c index 5b1125ad..69ad8415 100644 --- a/src/osmo-bts-trx/trx_if.c +++ b/src/osmo-bts-trx/trx_if.c @@ -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; |