Kill stupid gcc 3.x uninitialized warning.

This commit is contained in:
Guenter Knauf 2011-09-10 14:22:08 +02:00
parent 1f2c1f9e09
commit 3fb3ba571b

View File

@ -62,7 +62,7 @@ static int netconf_read_until(LIBSSH2_CHANNEL *channel, const char *endtag,
char *buf, size_t buflen) char *buf, size_t buflen)
{ {
ssize_t len, rd = 0; ssize_t len, rd = 0;
char *endreply, *specialsequence = NULL; char *endreply = NULL, *specialsequence = NULL;
memset(buf, 0, buflen); memset(buf, 0, buflen);