Files
clang-p2996/lldb/source/Commands/CommandObjectTarget.cpp
Shivam Gupta 558315a0ea [LLDB] Remove the redundent 'properties' variable (#95675)
This is described in (N3) https://pvs-studio.com/en/blog/posts/cpp/1126/

Warning message -
V547 Expression 'properties ++ > 0' is always false.
CommandObjectTarget.cpp:100

I could not understand it properly but the properties++ operation is
performed twice when the target architecture is valid.
First increment seems unnecessary since it is always false '0>0'.

---------

Co-authored-by: xgupta <shivma98.tkg@gmail.com>
2024-07-27 07:05:44 +05:30

194 KiB