Fixed an incorrect static analyzer fix.

llvm-svn: 137534
This commit is contained in:
Greg Clayton 2011-08-12 23:32:52 +00:00
parent b8171ddf3e
commit 23aca09205
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ ArchSpec::SetTriple (const llvm::Triple &triple)
bool
ArchSpec::SetTriple (const char *triple_cstr, Platform *platform)
{
if (triple_cstr && !triple_cstr[0])
if (triple_cstr && triple_cstr[0])
{
llvm::StringRef triple_stref (triple_cstr);
if (triple_stref.startswith (LLDB_ARCH_DEFAULT))