Change in libosmocore[master]: tests/*: fix control reaches end of non-void func

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/.

osmith gerrit-no-reply at lists.osmocom.org
Thu Jan 21 12:13:42 UTC 2021


osmith has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/22356 )

Change subject: tests/*: fix control reaches end of non-void func
......................................................................

tests/*: fix control reaches end of non-void func

Prepare to set -std=gnu89 in a future commit, which will cause gcc warn
about "control reaches end of non-void function" in main().

Change-Id: I7c33cac30e5859060f083813d8433011f5eaf0d0
---
M tests/i460_mux/i460_mux_test.c
M tests/it_q/it_q_test.c
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/tests/i460_mux/i460_mux_test.c b/tests/i460_mux/i460_mux_test.c
index 9d5fcf7..7695cb4 100644
--- a/tests/i460_mux/i460_mux_test.c
+++ b/tests/i460_mux/i460_mux_test.c
@@ -395,4 +395,5 @@
 	test_16k_subchan();
 	test_8k_subchan();
 	test_unused_subchan();
+	return 0;
 }
diff --git a/tests/it_q/it_q_test.c b/tests/it_q/it_q_test.c
index 0d75452..28e32d8 100644
--- a/tests/it_q/it_q_test.c
+++ b/tests/it_q/it_q_test.c
@@ -116,4 +116,5 @@
 	tc_alloc();
 	tc_queue_length();
 	tc_eventfd();
+	return 0;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/22356
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I7c33cac30e5859060f083813d8433011f5eaf0d0
Gerrit-Change-Number: 22356
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210121/f3900f83/attachment.htm>


More information about the gerrit-log mailing list