hnb-test: Fix rc var may be used uninitialized
Warning observed compiling with gcc 11.1.0. Change-Id: I6ca53dd57572338f15971633441da895843a164d
This commit is contained in:
parent
6334953f1c
commit
e395b75619
|
@ -496,6 +496,7 @@ int hnb_test_hnbap_rx(struct hnb_test *hnb, struct msgb *msg)
|
||||||
rc = hnb_test_rx_ue_register_acc(hnb, &pdu->choice.successfulOutcome.value);
|
rc = hnb_test_rx_ue_register_acc(hnb, &pdu->choice.successfulOutcome.value);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
rc = -ENOSPC;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue