summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorShivam Gupta <shivam98.tkg@gmail.com>2024-07-27 07:05:44 +0530
committerGitHub <noreply@github.com>2024-07-27 07:05:44 +0530
commit558315a0ea8cae8613c3a0061bc6cbe50c5b392f (patch)
tree0c3e6b8520dae6c636846cbbb7cf526256045cca /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parenta09c0f676d3c61ba8f74a24172543c1e44d70628 (diff)
[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>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions