Skip to content

Commit 443faa0

Browse files
committed
session server BUGFIX uninitialized var
False positive.
1 parent 53ab410 commit 443faa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/session_server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ nc_ps_poll_session_io(struct nc_session *session, int io_timeout, time_t now_mon
17111711
API int
17121712
nc_ps_poll(struct nc_pollsession *ps, int timeout, struct nc_session **session)
17131713
{
1714-
int ret, r;
1714+
int ret = NC_PSPOLL_ERROR, r;
17151715
uint8_t q_id;
17161716
uint16_t i, j;
17171717
char msg[256];

0 commit comments

Comments
 (0)