diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:17:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:17:13 +0300 |
commit | 181ecd0c3bf27b47487f973fb83b988fd6ceaecf (patch) | |
tree | 4ee3de6acd80bf81d0960ac49d64f718f5019102 /src/gui/charcreatedialog.cpp | |
parent | fb1709d774139b2173da6ee95770abaad23f726e (diff) | |
download | mv-181ecd0c3bf27b47487f973fb83b988fd6ceaecf.tar.gz mv-181ecd0c3bf27b47487f973fb83b988fd6ceaecf.tar.bz2 mv-181ecd0c3bf27b47487f973fb83b988fd6ceaecf.tar.xz mv-181ecd0c3bf27b47487f973fb83b988fd6ceaecf.zip |
Another fixes after Coverity checks.
Diffstat (limited to 'src/gui/charcreatedialog.cpp')
-rw-r--r-- | src/gui/charcreatedialog.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/charcreatedialog.cpp b/src/gui/charcreatedialog.cpp index 471818302..7ed2f0703 100644 --- a/src/gui/charcreatedialog.cpp +++ b/src/gui/charcreatedialog.cpp @@ -139,6 +139,13 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, mRaceLabel = new Label(this, _("Race:")); mRaceNameLabel = new Label(this, ""); } + else + { + mNextRaceButton = nullptr; + mPrevRaceButton = nullptr; + mRaceLabel = nullptr; + mRaceNameLabel = nullptr; + } // Default to a Male character mMale->setSelected(true); |