Skip to content

Commit b84b958

Browse files
authored
Merge pull request #799 from anhu/null
Init a pointer to NULL
2 parents ea5f28d + 12d3732 commit b84b958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8353,7 +8353,7 @@ static int DoChannelOpen(WOLFSSH* ssh,
83538353
static int DoChannelOpenConf(WOLFSSH* ssh,
83548354
byte* buf, word32 len, word32* idx)
83558355
{
8356-
WOLFSSH_CHANNEL* channel;
8356+
WOLFSSH_CHANNEL* channel = NULL;
83578357
word32 begin, channelId, peerChannelId,
83588358
peerInitialWindowSz, peerMaxPacketSz;
83598359
int ret = WS_SUCCESS;

0 commit comments

Comments
 (0)