From e0d14cf8d3c809a0a5291823d3a962a4835a8f6e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 9 Aug 2015 00:25:50 +0300 Subject: Add some missing checks to gui found by paranucker. --- src/gui/popups/popupmenu.h | 4 ++-- src/gui/popups/textboxpopup.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/popups') diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index d83fd7bd5..727818317 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -201,8 +201,8 @@ class PopupMenu final : public Popup, public LinkHandler bool addBeingMenu(); - BrowserBox *mBrowserBox; - ScrollArea *mScrollArea; + BrowserBox *mBrowserBox A_NONNULLPOINTER; + ScrollArea *mScrollArea A_NONNULLPOINTER; BeingId mBeingId; BeingId mFloorItemId; diff --git a/src/gui/popups/textboxpopup.h b/src/gui/popups/textboxpopup.h index 3bfc92f6a..44d4ad247 100644 --- a/src/gui/popups/textboxpopup.h +++ b/src/gui/popups/textboxpopup.h @@ -56,7 +56,7 @@ class TextBoxPopup final : public Popup void mouseMoved(MouseEvent &event) override final; private: - TextBox *mTextBox; + TextBox *mTextBox A_NONNULLPOINTER; }; extern TextBoxPopup *textBoxPopup; -- cgit v1.2.3-70-g09d2