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/skin.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui/skin.h') diff --git a/src/gui/skin.h b/src/gui/skin.h index c3e4e01b2..97d8ba038 100644 --- a/src/gui/skin.h +++ b/src/gui/skin.h @@ -38,10 +38,10 @@ class Skin final Skin(ImageRect *const restrict skin, const ImageRect *const restrict images, const std::string &filePath, - const std::string &name = "", - const int padding = 3, - const int titlePadding = 4, - StringIntMap *restrict const options = nullptr); + const std::string &name, + const int padding, + const int titlePadding, + StringIntMap *restrict const options) A_NONNULL(8); A_DELETE_COPY(Skin) @@ -129,7 +129,7 @@ class Skin final Image *mStickyImageDown; /**< Sticky Button Image */ int mPadding; int mTitlePadding; - StringIntMap *mOptions; + StringIntMap *mOptions A_NONNULLPOINTER; }; #endif // GUI_SKIN_H -- cgit v1.2.3-70-g09d2