X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Ftest%2FSynchronizedTestLib-inl.h;h=ef4045c8c4242b8d4e0e511ac7f627cc138f1ad4;hp=bee27f9a5cf5e6b47d1a3ba6d33f8d430b81f3fa;hb=b05969e4b4474cadf1cb1f8ebc37567cc63c9b88;hpb=17b973baa8c4a5fc9f80807b2ddfe874c7cc4bb0 diff --git a/folly/test/SynchronizedTestLib-inl.h b/folly/test/SynchronizedTestLib-inl.h index bee27f9a..ef4045c8 100644 --- a/folly/test/SynchronizedTestLib-inl.h +++ b/folly/test/SynchronizedTestLib-inl.h @@ -188,12 +188,12 @@ template void testDualLockingWithConst() { if (i & 1) { SYNCHRONIZED_DUAL (v, pv, m, pm) { - size_t s = m.size(); + (void)m.size(); v.push_back(i); } } else { SYNCHRONIZED_DUAL (m, pm, v, pv) { - size_t s = m.size(); + (void)m.size(); v.push_back(i); } }