daniel has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sigtran
refs/changes/35/41535/1
diff --git a/tests/tcap/tcap_transaction_tracking_test.c
b/tests/tcap/tcap_transaction_tracking_test.c
index 7ad52a9..3a2aec2 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 = 0;
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: newchange
Gerrit-Project: libosmo-sigtran
Gerrit-Branch: master
Gerrit-Change-Id: Ib3b361e2d16a9dab9b93ec9c211340f80f475b42
Gerrit-Change-Number: 41535
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <[email protected]>