Remove unused m4
[awesomized/libmemcached] / libtest / cmdline.cc
index f43b1c28b72ca970d679e0b274ca5faa7ddc7628..5c3d09f2960487a8169d9b57ab807aa681193120 100644 (file)
@@ -110,7 +110,6 @@ namespace {
   }
 #endif
 
-
   static Application::error_t int_to_error_t(int arg)
   {
     switch (arg)
@@ -459,7 +458,6 @@ Application::error_t Application::wait(bool nohang)
   if (exit_code == Application::INVALID)
   {
     Error << print_argv(built_argv, _argc);
-    /
   }
 #endif
 
@@ -516,11 +514,13 @@ Application::error_t Application::join()
 
   slurp();
 
+#if 0
   if (exit_code == Application::INVALID)
   {
-    Error << print_argv(built_argv);
+    Error << print_argv(built_argv, _argc);
   }
-;
+#endif
+
   return exit_code;
 }
 
@@ -623,7 +623,7 @@ void Application::Pipe::reset()
   close(READ);
   close(WRITE);
 
-#if HAVE_PIPE2
+#if defined(HAVE_PIPE2) && HAVE_PIPE2
   if (pipe2(_pipe_fd, O_NONBLOCK) == -1)
 #else
   if (pipe(_pipe_fd) == -1)