projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e886504
)
delete unused variable
author
Paul Tarjan
<ptarjan@fb.com>
Mon, 20 May 2013 18:33:17 +0000
(11:33 -0700)
committer
Sara 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
patch
|
blob
|
history
diff --git
a/folly/MemoryMapping.cpp
b/folly/MemoryMapping.cpp
index 7ac9825ee0d2b6093d76476085813339bcffa71f..1d926a1df2895749c3d9a4e85e5143f9da40176f 100644
(file)
--- a/
folly/MemoryMapping.cpp
+++ b/
folly/MemoryMapping.cpp
@@
-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;