aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-01-01 21:07:01 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-01-02 09:31:40 +0100
commit2f861a858be9f2fe1f55a0fbfc47d732e3b3b31b (patch)
tree1468878467363aa13031e1fac73de3d1168f768e /src
parent74f5f43409e2e8efca60cb0e1514e0cea4812fc7 (diff)
downloadlibssh-2f861a858be9f2fe1f55a0fbfc47d732e3b3b31b.tar.gz
libssh-2f861a858be9f2fe1f55a0fbfc47d732e3b3b31b.tar.xz
libssh-2f861a858be9f2fe1f55a0fbfc47d732e3b3b31b.zip
message: Fix compiler warning.
Diffstat (limited to 'src')
-rw-r--r--src/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.c b/src/messages.c
index a8022bc9..da714f3e 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -1249,10 +1249,10 @@ SSH_PACKET_CALLBACK(ssh_packet_global_request){
char *bind_addr=NULL;
uint32_t bind_port;
uint8_t want_reply;
+ int rc = SSH_PACKET_USED;
(void)user;
(void)type;
(void)packet;
- int rc = SSH_PACKET_USED;
request_s = buffer_get_ssh_string(packet);
if (request_s != NULL) {