Kill stupid gcc 3.x uninitialized warning.
This commit is contained in:
parent
1f2c1f9e09
commit
3fb3ba571b
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user