KDAB / KDStateMachineEditor

A framework for creating Qt State Machine metacode using a graphical user interface
https://kdab.github.io/KDStateMachineEditor/
171 stars 31 forks source link

Fix PVS-Studio V501 "identical sub-expressions to the left and to the right of the '&&'" #26

Closed nmariusp closed 2 years ago

nmariusp commented 2 years ago

modifyelementcommand.cpp:115: error: V501 There are identical sub-expressions to the left and to the right of the '&&' operator: m_item && m_item

krf commented 2 years ago

Thanks for the patch! I came up with a different approach however => Pushed the fix straight to master. Closing this.