Remove always-true part of a conditional expression.
clang warning. llvm-svn: 220018
This commit is contained in:
parent
61e0a3ef1f
commit
5b94115d50
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue