diff options
| author | Shivam Gupta <shivam98.tkg@gmail.com> | 2024-06-10 13:53:39 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-10 13:53:39 +0530 |
| commit | 0af2e75f8c688cc6fb7123c969c8edfa98a003fa (patch) | |
| tree | 333ff3bf2c5315c7eb9105cbc518c51a02344de6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 0257f9cde540f265da38ef14fd395f76d3e08bb1 (diff) | |
[lldb] Fix redundant condition in compression type check (NFC) (#94841)
The `else if` condition for checking `m_compression_type` is redundant
as it matches with a previous `if` condition, making the expression
always false. Reported by cppcheck as a possible cut-and-paste error.
Caught by cppcheck -
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp:543:35:
style: Expression is always false because 'else if' condition matches
previous condition at line 535. [multiCondition]
Fix #91222
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
