<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/91223>91223</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp:509: Pointless test ?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dcb314
</td>
</tr>
</table>
<pre>
Static analyser cppcheck says:
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm.cpp:509:25: style: Expression is always true because 'else if' condition is opposite to previous condition at line 505. [multiCondition]
Source code is
if (watch_mask > 0x04)
....
else if (watch_mask <= 0x04)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0UsFunDAU_JrH5SnI2MCGA4dNNpyqKmo-IDLm7a4bg5HfI9n9-wq0TVP13Is91sxYM9JYZn-aiFqoHqA6ZHaRc0zt4HpTlFkfh2v7Ila8QzvZcGVK6ObZncm9Idsrg9mDOoC6nSEMPeiO45Icge6ew3LyE68oRUe8om9-Wi6gu-9W_Dv9oJNnofQYJ6GLbOSrTWPu5hnMvlINmL2uwOyR5RpoBU-XORGzjxN6Rhs-7JVR0kLYk7MLE4LeUWBCfwS9QxenwctNHuc5shdCiTgnevdx4S8KKxj8RFipKkeoHsYliH_8TUN1-Fr3ZeuJLg6Enr8yiOiPCPr-w4o7v46W3xDME6qLKkE3n6I8z_PPxy3yP7ZHMIe_ndnQmqExjc2oLXZFpVRdNyo7t865shrqpuhrsyuVOSrV6KNuCq2aum7qzLda6VJVqi7KsqxUTsfmvj8649xQOjM4KBWN1oc8hPcxj-mUeeaF2qbQ2mTB9hR4W4vWE33gRoLW63hSu3ru-uXEUKrgWfjPL-IlUPufBoLP0U8SiBmFWBBMly0ptGeReduo7kB3Jy_npc9dHEF3a7DbdTen-JOcgO62OmuIre6vAAAA___z2f3i">