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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Oct 31 00:02:15 UTC 2017


Review at  https://gerrit.osmocom.org/4596

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(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/96/4596/1

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: newchange
Gerrit-Change-Id: I9e49ceba6b0a8dffd331e5707667d9bb007f3ec7
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list