summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-01 03:09:27 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-01 03:09:27 +0300
commit51a231c22425db9eeda38889deda3b07dcdd6924 (patch)
treee1b175e868cc2c2a8e0772c594d38886bb212ac3 /src/gui/windows
parent160b99b0b07c821e63eca4d6e80ab053705bf9c9 (diff)
downloadplus-51a231c22425db9eeda38889deda3b07dcdd6924.tar.gz
plus-51a231c22425db9eeda38889deda3b07dcdd6924.tar.bz2
plus-51a231c22425db9eeda38889deda3b07dcdd6924.tar.xz
plus-51a231c22425db9eeda38889deda3b07dcdd6924.zip
Remove useless check.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/charselectdialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 5f99a16fc..1359d33e7 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -662,8 +662,6 @@ void CharSelectDialog::setName(const BeingId id, const std::string &newName)
i < fsz;
++i)
{
- if (mCharacterEntries[i] == nullptr)
- continue;
CharacterDisplay *const character = mCharacterEntries[i];
if (character == nullptr)
continue;