Remove always-true part of a conditional expression.

clang warning.

llvm-svn: 220018
This commit is contained in:
Jason Molenda 2014-10-17 01:38:10 +00:00
parent 61e0a3ef1f
commit 5b94115d50
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ Symbols::DownloadObjectAndSymbolFile (ModuleSpec &module_spec, bool force_lookup
StreamString command;
if (!uuid_str.empty())
command.Printf("%s --ignoreNegativeCache --copyExecutable %s", g_dsym_for_uuid_exe_path, uuid_str.c_str());
else if (file_path && file_path[0])
else if (file_path[0] != '\0')
command.Printf("%s --ignoreNegativeCache --copyExecutable %s", g_dsym_for_uuid_exe_path, file_path);
if (!command.GetString().empty())