aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2018-10-13 20:40:22 +0200
committerKévin Redon <kredon@sysmocom.de>2018-10-13 22:14:06 +0000
commit53b4e593aae183c0c7cc3eb83b7306fa483bfc44 (patch)
treee8b404217893385eb4ef332e4fb9801c728c9347
parentdc85fbc3e13b0463399a64468169ee18698771ab (diff)
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
-rw-r--r--host/simtrace2_usb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/simtrace2_usb.c b/host/simtrace2_usb.c
index cdfe29e..1e3104a 100644
--- a/host/simtrace2_usb.c
+++ b/host/simtrace2_usb.c
@@ -85,4 +85,5 @@ int main(int argc, char **argv)
{
libusb_init(NULL);
find_devices();
+ return 0;
}