(wangle) fix after-delete assert
[folly.git] / folly / Subprocess.cpp
index db45c9e4da7d68f7f74b1715c1a853b9bc8cd070..c17e8849e8f080a2a722b84a35b5317a6a68b2df 100644 (file)
@@ -39,7 +39,6 @@
 
 #include <folly/Conv.h>
 #include <folly/Exception.h>
-#include <folly/FileUtil.h>
 #include <folly/ScopeGuard.h>
 #include <folly/String.h>
 #include <folly/io/Cursor.h>
@@ -494,7 +493,6 @@ int Subprocess::runChild(const char* executable,
                          char** argv, char** env,
                          const Options& options) const {
   // Now, finally, exec.
-  int r;
   if (options.usePath_) {
     ::execvp(executable, argv);
   } else {
@@ -819,4 +817,3 @@ Initializer initializer;
 }  // namespace
 
 }  // namespace folly
-