[MERGED] osmo-ggsn[master]: fix compiler warnings: return 0 in main(), in 3 tests

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Oct 31 01:05:24 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: fix compiler warnings: return 0 in main(), in 3 tests
......................................................................


fix compiler warnings: return 0 in main(), in 3 tests

Change-Id: I9e49ceba6b0a8dffd331e5707667d9bb007f3ec7
---
M tests/gtp/gtpie_test.c
M tests/lib/in46a_test.c
M tests/lib/ippool_test.c
3 files changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/tests/gtp/gtpie_test.c b/tests/gtp/gtpie_test.c
index fe2d502..8d87dcc 100644
--- a/tests/gtp/gtpie_test.c
+++ b/tests/gtp/gtpie_test.c
@@ -124,4 +124,5 @@
 	/* TODO: gtpie_encaps() */
 	/* TODO: gtpie_encaps2() */
 	/* TODO: gtpie_getie(), gtpie_exist(), gtpie_get*() */
+	return 0;
 }
diff --git a/tests/lib/in46a_test.c b/tests/lib/in46a_test.c
index 42a1768..ab7156f 100644
--- a/tests/lib/in46a_test.c
+++ b/tests/lib/in46a_test.c
@@ -321,4 +321,5 @@
 	test_in46a_to_eua();
 	test_in46a_from_eua();
 	test_in46a_netmasklen();
+	return 0;
 }
diff --git a/tests/lib/ippool_test.c b/tests/lib/ippool_test.c
index ea56edd..5b3227c 100644
--- a/tests/lib/ippool_test.c
+++ b/tests/lib/ippool_test.c
@@ -130,4 +130,5 @@
 	srand(time(NULL));
 
 	test_pool_sizes();
+	return 0;
 }

-- 
To view, visit https://gerrit.osmocom.org/4596
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9e49ceba6b0a8dffd331e5707667d9bb007f3ec7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>


More information about the gerrit-log mailing list