From 3a59b011f2cc2a3092caac13663053422e4feada Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Tue, 2 Aug 2011 17:50:48 -0400 Subject: [PATCH] fix unused var warning --- dbtests/perftests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dbtests/perftests.cpp b/dbtests/perftests.cpp index a34700b74c9cc..203eb47cdbaad 100644 --- a/dbtests/perftests.cpp +++ b/dbtests/perftests.cpp @@ -640,6 +640,7 @@ namespace PerfTests { if( once++ == 0 ) cout << "compress round trip " << sz/(1024.0*1024) / (t.millis()/1000.0) << "MB/sec\n"; //cout << len / (1024.0/1024) << " compressed" << endl; + (void)len; //fix unused error while above line is commented out } void post() { ASSERT( memcmp(res.c_str(), p, sz) == 0 );