libosmocore[master]: gsm0808: fix control folow issue

2017-04-28 Thread Max
Patch Set 1: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/2445 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I89751fc0d598734c64ef1fdced75b7c4fa77c616 Gerrit-PatchSet: 1 Gerrit-Project: libosmocore Gerrit-Branch: master

[PATCH] libosmocore[master]: gsm0808: fix control folow issue

2017-04-28 Thread dexter
Review at https://gerrit.osmocom.org/2445 gsm0808: fix control folow issue Coverity Scan reported a control flow issue in line 206: CID 166898: Control flow issues (DEADCODE) The second branch of the if statement can not be reached. The purpose of the second if branch was to filter out zero