delete unused variable
authorPaul Tarjan <ptarjan@fb.com>
Mon, 20 May 2013 18:33:17 +0000 (11:33 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 23 May 2013 21:33:22 +0000 (14:33 -0700)
Test Plan: none

Reviewed By: tjackson@fb.com

FB internal diff: D818326

folly/MemoryMapping.cpp

index 7ac9825ee0d2b6093d76476085813339bcffa71f..1d926a1df2895749c3d9a4e85e5143f9da40176f 100644 (file)
@@ -131,7 +131,6 @@ bool memOpInChunks(std::function<int(void*, size_t)> op,
   // operations of their own.
 
   size_t chunkSize = memOpChunkSize(bufSize);
-  size_t chunkCount = bufSize / chunkSize;
 
   char* addr = static_cast<char*>(mem);
   amountSucceeded = 0;