Skip to content

Commit

Permalink
fix unused var warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBeard0531 committed Aug 2, 2011
1 parent 681a4c7 commit 3a59b01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbtests/perftests.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 3a59b01

Please sign in to comment.