projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61e0a3e
)
Remove always-true part of a conditional expression.
author
Jason Molenda
<jmolenda@apple.com>
Fri, 17 Oct 2014 01:38:10 +0000
(
01:38
+0000)
committer
Jason Molenda
<jmolenda@apple.com>
Fri, 17 Oct 2014 01:38:10 +0000
(
01:38
+0000)
clang warning.
llvm-svn: 220018
lldb/source/Host/macosx/Symbols.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Host/macosx/Symbols.cpp
b/lldb/source/Host/macosx/Symbols.cpp
index
e0602e7
..
27f2309
100644
(file)
--- a/
lldb/source/Host/macosx/Symbols.cpp
+++ b/
lldb/source/Host/macosx/Symbols.cpp
@@
-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())