mirror of https://gerrit.osmocom.org/libosmocore
fsm_test.c: fix unreachable check
Change-Id: Ic3d5da00f7ece6dbcd4c999187a5748c9331e60f
This commit is contained in:
parent
a5bb2b9586
commit
35b54d12bb
|
@ -95,8 +95,10 @@ static struct ctrl_handle *g_ctrl;
|
|||
static struct ctrl_cmd *exec_ctrl_cmd(const char *cmdstr)
|
||||
{
|
||||
struct ctrl_cmd *cmd;
|
||||
return ctrl_cmd_exec_from_string(g_ctrl, cmdstr);
|
||||
|
||||
cmd = ctrl_cmd_exec_from_string(g_ctrl, cmdstr);
|
||||
OSMO_ASSERT(cmd);
|
||||
|
||||
return cmd;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue