Remove an unnecessary check and an unnecessary temporary.

llvm-svn: 117583
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp
index c8b260c..820e7cf 100644
--- a/llvm/lib/Support/SystemUtils.cpp
+++ b/llvm/lib/Support/SystemUtils.cpp
@@ -56,10 +56,9 @@
     // version of the program.
     if (Result.isAbsolute()) {
       Result = sys::Program::FindProgramByName(Result.str());
-      if (!Result.empty())
-        return Result;
+      return Result;
     }
   }
 
-  return sys::Path();
+  return Result;
 }