pespin has submitted this change. (
https://gerrit.osmocom.org/c/libosmo-sigtran/+/41535?usp=email )
Change subject: Fix warning in tcap_transaction_tracking_test
......................................................................
Fix warning in tcap_transaction_tracking_test
Change-Id: Ib3b361e2d16a9dab9b93ec9c211340f80f475b42
---
M tests/tcap/tcap_transaction_tracking_test.c
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
lynxis lazus: Looks good to me, approved
diff --git a/tests/tcap/tcap_transaction_tracking_test.c
b/tests/tcap/tcap_transaction_tracking_test.c
index 7ad52a9..ce3605b 100644
--- a/tests/tcap/tcap_transaction_tracking_test.c
+++ b/tests/tcap/tcap_transaction_tracking_test.c
@@ -228,7 +228,7 @@
uint32_t hlr_tids[] = { 24, 25, 26};
uint32_t vlr_tids[] = { 44, 45, 46};
- struct tcap_trans_track_entry *entry;
+ struct tcap_trans_track_entry *entry = NULL;
printf("GC test\n");
@@ -239,6 +239,7 @@
&gvlr, &vlr_tids[i]);
OSMO_ASSERT(entry);
}
+ OSMO_ASSERT(entry);
OSMO_ASSERT(count_unique_hash_entries(as) == 3);
/* No entries should be GC'ed, because all entries should be within 10
secs */
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sigtran/+/41535?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ib3b361e2d16a9dab9b93ec9c211340f80f475b42
Gerrit-Change-Number: 41535
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: lynxis lazus <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>