memcapable: fix logic error
[awesomized/libmemcached] / libtest / blobslap_worker.cc
index da43f619439a5aa6940f602cd9fb80b8fd270c4b..5100a388628a86d3bf5a90bf5efd2e0ecac635c8 100644 (file)
@@ -51,8 +51,6 @@
 #include <sys/wait.h>
 #include <unistd.h>
 
-#include <libgearman/gearman.h>
-
 #ifndef __INTEL_COMPILER
 #pragma GCC diagnostic ignored "-Wold-style-cast"
 #endif
@@ -148,21 +146,14 @@ public:
     return true;
   }
 
-  bool build(size_t argc, const char *argv[]);
+  bool build();
 };
 
 
 #include <sstream>
 
-bool BlobslapWorker::build(size_t argc, const char *argv[])
+bool BlobslapWorker::build()
 {
-  std::stringstream arg_buffer;
-
-  for (size_t x= 0 ; x < argc ; x++)
-  {
-    add_option(argv[x]);
-  }
-
   return true;
 }