Fix use of uninitialized variable.

llvm-svn: 58663
This commit is contained in:
Ted Kremenek 2008-11-04 00:22:12 +00:00
parent a3199323fe
commit eefdcea2ba
1 changed files with 1 additions and 1 deletions

View File

@ -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";
}