mobile: fix -Wlogical-not-parentheses in gsm48_cc_init()
Found by clang: gsm48_cc.c:54:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!cc->mncc_upqueue.next == 0) ^ ~~ Change-Id: Ic7ffd3aa25339e24a31bae1b7428f1f93e261858
This commit is contained in:
parent
923e9b0b90
commit
96fec1646d
|
@ -52,7 +52,7 @@ int gsm48_cc_init(struct osmocom_ms *ms)
|
|||
|
||||
cc->ms = ms;
|
||||
|
||||
if (!cc->mncc_upqueue.next == 0)
|
||||
if (cc->mncc_upqueue.next != NULL)
|
||||
return 0;
|
||||
|
||||
LOGP(DCC, LOGL_INFO, "init Call Control\n");
|
||||
|
|
Loading…
Reference in New Issue