osmith has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/26094 )

Change subject: bsc_ctrl_commands: fix uninitialized value (mode)
......................................................................

bsc_ctrl_commands: fix uninitialized value (mode)

Fixes: CID#240848
Change-Id: I571055b350d343318ef1ae469ae92475925d1910
---
M src/osmo-bsc/bsc_ctrl_commands.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  dexter: Looks good to me, approved



diff --git a/src/osmo-bsc/bsc_ctrl_commands.c b/src/osmo-bsc/bsc_ctrl_commands.c
index f379bd2..fb8bd0c 100644
--- a/src/osmo-bsc/bsc_ctrl_commands.c
+++ b/src/osmo-bsc/bsc_ctrl_commands.c
@@ -753,7 +753,7 @@
 static int set_bts_neighbor_list_mode(struct ctrl_cmd *cmd, void *data)
 {
        struct gsm_bts *bts = cmd->node;
-       int mode;
+       int mode = NL_MODE_AUTOMATIC;

        if (!strcmp(cmd->value, "automatic"))
                mode = NL_MODE_AUTOMATIC;

--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/26094
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I571055b350d343318ef1ae469ae92475925d1910
Gerrit-Change-Number: 26094
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to