diff options
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c b/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c index 32ae0681b..6ff4541a0 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat_ctrl.c @@ -193,7 +193,7 @@ static int forward_to_bsc(struct ctrl_cmd *cmd) struct bsc_connection *bsc; struct bsc_cmd_list *pending; unsigned int nr; - char *nr_str, *tmp, *saveptr; + char *nr_str, *tmp, *saveptr = NULL; /* Skip over the beginning (bsc.) */ tmp = strtok_r(cmd->variable, ".", &saveptr); |