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:
Pau Espin 2021-10-26 14:31:27 +02:00
parent 6334953f1c
commit e395b75619
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }