mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
Fix use of uninitialized variable.
llvm-svn: 58663
This commit is contained in:
@@ -1164,7 +1164,7 @@ if (defined $OutputFormat) {
|
||||
# Run the build.
|
||||
my $ExitStatus = RunBuildCommand(\@ARGV, $IgnoreErrors, $Cmd);
|
||||
|
||||
if ($OutputFormat eq "plist") {
|
||||
if (defined $OutputFormat and $OutputFormat eq "plist") {
|
||||
Diag "Analysis run complete.\n";
|
||||
Diag "Analysis results (plist files) deposited in '$HtmlDir'\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user