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 <mar...@gmx.de>

Reply via email to