Change in simtrace2[master]: Fix compiler warning: no-return-in-nonvoid-function simtrace2_usb.c

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

roox gerrit-no-reply at lists.osmocom.org
Sat Oct 13 18:43:28 UTC 2018


roox has uploaded this change for review. ( https://gerrit.osmocom.org/11342


Change subject: Fix compiler warning: no-return-in-nonvoid-function simtrace2_usb.c
......................................................................

Fix compiler warning: no-return-in-nonvoid-function simtrace2_usb.c

RPM post-build-checks found some issue and marks these as error:
[   61s] I: Program returns random data in a function
[   61s] E: simtrace2 no-return-in-nonvoid-function simtrace2_usb.c:88

Change-Id: Id16fb7fc4f13176b2b6443af02a5848d8fcfb069
---
M host/simtrace2_usb.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/42/11342/1

diff --git a/host/simtrace2_usb.c b/host/simtrace2_usb.c
index 2016670..d662351 100644
--- a/host/simtrace2_usb.c
+++ b/host/simtrace2_usb.c
@@ -67,4 +67,5 @@
 {
 	libusb_init(NULL);
 	find_devices();
+	return 0;
 }

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

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id16fb7fc4f13176b2b6443af02a5848d8fcfb069
Gerrit-Change-Number: 11342
Gerrit-PatchSet: 1
Gerrit-Owner: roox <mardnh at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181013/2657bb8f/attachment.htm>


More information about the gerrit-log mailing list