diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-11-27 17:58:04 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-01-19 16:03:16 +0100 |
commit | c766c9edad22ad8e6753fdf6797cfa652e2385dd (patch) | |
tree | 079b6ba54d87ec8b5d71be57e7c015958cb1afdc /src/libbsc | |
parent | a91800034e56cfa5a50764067569ec21bcb37415 (diff) |
cosmetic: explicitly init ho_ref start value
The static ho_ref seems to be implicitly initialized to zero, but let's make it
explicit for code readability.
Change-Id: I00493bcb7ef3e38fb8e0077c60c5bac7199f1073
Diffstat (limited to 'src/libbsc')
-rw-r--r-- | src/libbsc/handover_logic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libbsc/handover_logic.c b/src/libbsc/handover_logic.c index ee7b6833e..4b86de73e 100644 --- a/src/libbsc/handover_logic.c +++ b/src/libbsc/handover_logic.c @@ -93,7 +93,7 @@ int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts) { struct gsm_lchan *new_lchan; struct bsc_handover *ho; - static uint8_t ho_ref; + static uint8_t ho_ref = 0; int rc; /* don't attempt multiple handovers for the same lchan at |