diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-14 11:21:34 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-26 10:12:44 +0200 |
commit | 04e09f27723e8477c6ea2c23545d38510fae3d40 (patch) | |
tree | d04621889964e63c3c2b7a27f11dff9ae9fbc7f1 | |
parent | 54e7b9aa250259855fc820f68e9b1946cb1510d2 (diff) | |
download | nx-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.cpp | 2 |
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 " |