input/ipaccess.c: clang says ret might be uninitialized
and it appears to be right that for the "default" case ret will not be assigned and we return ret.
This commit is contained in:
parent
423bfe915c
commit
67b596199d
|
@ -304,7 +304,7 @@ static int handle_ts1_read(struct bsc_fd *bfd)
|
|||
struct e1inp_sign_link *link;
|
||||
struct msgb *msg;
|
||||
struct ipaccess_head *hh;
|
||||
int ret, error;
|
||||
int ret = 0, error;
|
||||
|
||||
msg = ipaccess_read_msg(bfd, &error);
|
||||
if (!msg) {
|
||||
|
|
Loading…
Reference in New Issue