mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
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
This commit is contained in:
@@ -1253,7 +1253,7 @@ int channel_request_sftp( CHANNEL *channel){
|
|||||||
int channel_request_env(CHANNEL *channel, const char *name, const char *value) {
|
int channel_request_env(CHANNEL *channel, const char *name, const char *value) {
|
||||||
BUFFER *buffer = NULL;
|
BUFFER *buffer = NULL;
|
||||||
STRING *str = NULL;
|
STRING *str = NULL;
|
||||||
int rc;
|
int rc = SSH_ERROR;
|
||||||
|
|
||||||
buffer = buffer_new();
|
buffer = buffer_new();
|
||||||
if (buffer == NULL) {
|
if (buffer == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user