diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-05-11 11:12:46 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-05-11 11:12:46 +0000 |
commit | 9196be1a42e87343d63a87eb89ed5aed522c6371 (patch) | |
tree | 7f194a1820ce56756132c6b41a25bd79c884ae41 | |
parent | 1657d0932f463346911118574b4a22244f75b546 (diff) | |
download | libssh-9196be1a42e87343d63a87eb89ed5aed522c6371.tar.gz libssh-9196be1a42e87343d63a87eb89ed5aed522c6371.tar.xz libssh-9196be1a42e87343d63a87eb89ed5aed522c6371.zip |
Initialize the return value to fix a build warning.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@757 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r-- | libssh/channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/channels.c b/libssh/channels.c index 28dff7cb..beebe4ba 100644 --- a/libssh/channels.c +++ b/libssh/channels.c @@ -1253,7 +1253,7 @@ int channel_request_sftp( CHANNEL *channel){ int channel_request_env(CHANNEL *channel, const char *name, const char *value) { BUFFER *buffer = NULL; STRING *str = NULL; - int rc; + int rc = SSH_ERROR; buffer = buffer_new(); if (buffer == NULL) { |