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:
Holger Hans Peter Freyther 2009-10-27 10:08:38 +01:00
parent 423bfe915c
commit 67b596199d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {