lynxis lazus has submitted this change. ( 
https://gerrit.osmocom.org/c/simtrace2/+/43134?usp=email )

 (

1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: host: simtrace2-sniff: init exit code
......................................................................

host: simtrace2-sniff: init exit code

Early failure i.e. of libusb return random values as exit code.

Change-Id: If920824d35c1f37efe16440b5fb190ca0fb19148
---
M host/src/simtrace2-sniff.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  lynxis lazus: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/host/src/simtrace2-sniff.c b/host/src/simtrace2-sniff.c
index 8504e8b..1f2c69d 100644
--- a/host/src/simtrace2-sniff.c
+++ b/host/src/simtrace2-sniff.c
@@ -328,7 +328,7 @@

 int main(int argc, char **argv)
 {
-       int i, rc, ret;
+       int i, rc, ret = 1;
        print_welcome();

        /* Parse arguments */

--
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/43134?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: If920824d35c1f37efe16440b5fb190ca0fb19148
Gerrit-Change-Number: 43134
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: lynxis lazus <[email protected]>

Reply via email to