forked from OSchip/llvm-project
Fix potential use of uninitialized variable.
llvm-svn: 65109
This commit is contained in:
parent
2a12ae7d1f
commit
40cd13ecff
|
@ -84,7 +84,7 @@ sub DieDiag {
|
|||
my $ClangSB = Cwd::realpath("$RealBin/cbin/clang");
|
||||
my $Clang = $ClangSB;
|
||||
|
||||
if (! -x $ClangSB) {
|
||||
if (!defined $ClangSB || ! -x $ClangSB) {
|
||||
$Clang = "clang";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue