diff options
-rwxr-xr-x | clang/utils/scan-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/utils/scan-build b/clang/utils/scan-build index f598bb0eaa2..03d8f4dbdf3 100755 --- a/clang/utils/scan-build +++ b/clang/utils/scan-build @@ -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"; } |