[all-commits] [llvm/llvm-project] ef01c7: [lldb] Remove dead code block (NFC) (#94775)
Shivam Gupta via All-commits
all-commits at lists.llvm.org
Sat Jun 15 11:10:19 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef01c75d467df92b8c659307595aa74ed2290cd8
https://github.com/llvm/llvm-project/commit/ef01c75d467df92b8c659307595aa74ed2290cd8
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2024-06-15 (Sat, 15 Jun 2024)
Changed paths:
M lldb/source/Utility/Scalar.cpp
Log Message:
-----------
[lldb] Remove dead code block (NFC) (#94775)
The check that max_bit_pos == sign_bit_pos conflicts with the check that
sign_bit_pos < max_bit_pos in the block surrounding it.
Originally found by cppcheck -
lldb/source/Utility/Scalar.cpp:756:23: warning: Opposite inner 'if'
condition leads to a dead code block. [oppositeInnerCondition]
Fixes #85985
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list