summaryrefslogtreecommitdiff
path: root/src/gui/windows/changepassworddialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-11 17:35:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-11 18:00:22 +0300
commit52c7195a8ee91f95ef134d9798a47ea313df16c8 (patch)
treeca1f32cfadce611a1820b50f5386c02cd2ce06ae /src/gui/windows/changepassworddialog.cpp
parentf1b82c1b06604c2c1eed750a6c980aa0b5355560 (diff)
downloadmanaverse-52c7195a8ee91f95ef134d9798a47ea313df16c8.tar.gz
manaverse-52c7195a8ee91f95ef134d9798a47ea313df16c8.tar.bz2
manaverse-52c7195a8ee91f95ef134d9798a47ea313df16c8.tar.xz
manaverse-52c7195a8ee91f95ef134d9798a47ea313df16c8.zip
Second part of checks from Parasoft C++ Test.
Diffstat (limited to 'src/gui/windows/changepassworddialog.cpp')
-rw-r--r--src/gui/windows/changepassworddialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp
index 365ee19a8..5d520e95f 100644
--- a/src/gui/windows/changepassworddialog.cpp
+++ b/src/gui/windows/changepassworddialog.cpp
@@ -151,7 +151,7 @@ void ChangePasswordDialog::action(const gcn::ActionEvent &event)
mWrongDataNoticeListener->setTarget(this->mOldPassField);
else if (error == 2)
mWrongDataNoticeListener->setTarget(this->mFirstPassField);
- else if (error == 3)
+ else // if (error == 3)
mWrongDataNoticeListener->setTarget(this->mSecondPassField);
// TRANSLATORS: change password error header