forked from OSchip/llvm-project
[lldb][NFC] Simplify if-return
This commit is contained in:
parent
a58bd0e42c
commit
04359f48f0
|
@ -18,9 +18,7 @@ public:
|
|||
result = subcommand(dbg, "help");
|
||||
// Test also whether self-assignment is handled correctly.
|
||||
result = result;
|
||||
if (!result.Succeeded())
|
||||
return false;
|
||||
return true;
|
||||
return result.Succeeded();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue