aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-27 17:58:04 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-01-12 03:28:14 +0100
commita13c671d75c6b94f302cc530e04101ff1715bccc (patch)
tree3cd965bd3b416b3b0c8598841e4e4215881c3f61 /src
parent91398f763e303c8202d858368bf11539904ee042 (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')
-rw-r--r--src/libbsc/handover_logic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libbsc/handover_logic.c b/src/libbsc/handover_logic.c
index 684f5b04f..997ca9c21 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