From 9196be1a42e87343d63a87eb89ed5aed522c6371 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 11 May 2009 11:12:46 +0000 Subject: 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 --- libssh/channels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3