Suspicious conditional
From: Dmitry <wipedout_at_yandex.ru>
Date: Tue, 05 Jul 2011 13:57:52 +0400
Hey.
Currently CSVNProgressDlg::OnContextMenu() contains the following code:
if ((data->action == svn_wc_notify_add)||
here (data->action == svn_wc_notify_commit_modified) condition is checked twice. Either the second occurence is unneeded or it is mistyped. This defect was detected using PVS-Studio static analysis tool.
Best wishes.
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.