diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2019-10-30 14:49:45 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2019-10-31 13:08:57 +0100 |
commit | a9d88af59461f36a92cc6d900b3f9e811e6fdd72 (patch) | |
tree | 9011316fd54a575f6697f34cc7f043f78f98efb5 /src/common/rsl.c | |
parent | 132987daf40739bfa4a2c87a2cf1e04365c9510f (diff) |
scheduler_trx: initalize n_errors, n_bursts_bits, n_bits_total
Make sure the variables n_errors, n_bursts_bits, n_bits_total are always
initalized. For example in rx_tchh_fn() the value for n_errors is
defined in a switch statement, where the default lets n_errors
uninitalized, which is in that particular case a theoretical problem,
however, lets make sure that the variables n_errors, n_bursts_bits and
n_bits_total are always initalized with 0
Related: CID#205452
Related: CID#205451
Change-Id: If28ea11cc111c7d73ca47b25e65ce399e5baa4c1
Diffstat (limited to 'src/common/rsl.c')
0 files changed, 0 insertions, 0 deletions