Merge of cppccheck fixes.
[m6w6/libmemcached] / libtest / is_local.cc
index b03c2325307bdd4b3a0a671bffc7bb8617930eff..7ae7b7f43760f9443fb5bb9921b034c6fbb92d53 100644 (file)
@@ -45,5 +45,16 @@ bool test_is_local()
   return (getenv("LIBTEST_LOCAL"));
 }
 
+static bool _is_massive= false;
+void is_massive(bool arg)
+{
+  _is_massive= arg;
+}
+
+bool is_massive()
+{
+  return _is_massive;
+}
+
 } // namespace libtest