aboutsummaryrefslogtreecommitdiffstats
path: root/dhcpcd_test.cpp
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2015-02-10 09:25:33 +0900
committerErik Kline <ek@google.com>2015-02-11 06:12:54 +0900
commitd8db511257003e107528ff9c12ac2df5af13361b (patch)
tree381c9c66473f22a0151d1184d803deb04a9637f3 /dhcpcd_test.cpp
parentab76087921df3dde0c28776d31d7e6873aec9609 (diff)
downloadandroid_external_dhcpcd-d8db511257003e107528ff9c12ac2df5af13361b.tar.gz
android_external_dhcpcd-d8db511257003e107528ff9c12ac2df5af13361b.tar.bz2
android_external_dhcpcd-d8db511257003e107528ff9c12ac2df5af13361b.zip
Remove set but not used variable
Bug: 19245503 Change-Id: I57002952eadf4d5b7636e78fc0846c915cceb5dd
Diffstat (limited to 'dhcpcd_test.cpp')
-rw-r--r--dhcpcd_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dhcpcd_test.cpp b/dhcpcd_test.cpp
index 1fa829f..a254d4d 100644
--- a/dhcpcd_test.cpp
+++ b/dhcpcd_test.cpp
@@ -97,9 +97,9 @@ class DhcpcdGetOptionTest : public ::testing::Test {
}
struct dhcp_message dhcpmsgs[2];
- size_t type_index;
- size_t length_index;
- size_t value_index;
+ volatile size_t type_index;
+ volatile size_t length_index;
+ volatile size_t value_index;
};
TEST_F(DhcpcdGetOptionTest, OptionNotPresent) {