hnb-test: Fix rc var may be used uninitialized

Warning observed compiling with gcc 11.1.0.

Change-Id: I6ca53dd57572338f15971633441da895843a164d
changes/56/25956/1
Pau Espin 1 year ago
parent 6334953f1c
commit e395b75619
  1. 1
      src/tests/hnb-test.c

@ -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);
break;
default:
rc = -ENOSPC;
break;
}

Loading…
Cancel
Save