projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix compiler warnings from gcc-4.9 + -Wunused-variable
[folly.git]
/
folly
/
test
/
IPAddressTest.cpp
diff --git
a/folly/test/IPAddressTest.cpp
b/folly/test/IPAddressTest.cpp
index cb1bc108c0a0f4ff5e890244573d42e845daa9c1..ef7885683623c1e0744475949c30c997aabebf53 100644
(file)
--- a/
folly/test/IPAddressTest.cpp
+++ b/
folly/test/IPAddressTest.cpp
@@
-506,7
+506,6
@@
static vector<pair<string, uint8_t> > invalidMasks = {
};
TEST(IPAddress, InvalidMask) {
for (auto& tc : invalidMasks) {
- uint8_t mask = tc.second;
auto ip = IPAddress(tc.first);
EXPECT_THROW(ip.mask(tc.second), IPAddressFormatException);
}