From 04e09f27723e8477c6ea2c23545d38510fae3d40 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 14 Jul 2017 11:21:34 +0200 Subject: nxcomp/src/Transport.cpp: Don't redeclare local variable if it can be reused. --- nxcomp/src/Transport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nxcomp') 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 " -- cgit v1.2.3