aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-14 11:21:34 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-26 10:12:44 +0200
commit04e09f27723e8477c6ea2c23545d38510fae3d40 (patch)
treed04621889964e63c3c2b7a27f11dff9ae9fbc7f1
parent54e7b9aa250259855fc820f68e9b1946cb1510d2 (diff)
downloadnx-libs-04e09f27723e8477c6ea2c23545d38510fae3d40.tar.gz
nx-libs-04e09f27723e8477c6ea2c23545d38510fae3d40.tar.bz2
nx-libs-04e09f27723e8477c6ea2c23545d38510fae3d40.zip
nxcomp/src/Transport.cpp: Don't redeclare local variable if it can be reused.
-rw-r--r--nxcomp/src/Transport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nxcomp/src/Transport.cpp b/nxcomp/src/Transport.cpp
index e34544994..897bf32f1 100644
--- a/nxcomp/src/Transport.cpp
+++ b/nxcomp/src/Transport.cpp
@@ -1412,7 +1412,7 @@ int ProxyTransport::read(unsigned char *data, unsigned int size)
<< logofs_flush;
#endif
- int result = inflate(&r_stream_, Z_SYNC_FLUSH);
+ result = inflate(&r_stream_, Z_SYNC_FLUSH);
#ifdef INSPECT
*logofs << "ProxyTransport: Called inflate() result is "