From 2bde1b0193dbef84c9d95c9826aecb910d901196 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 24 Jun 2015 15:04:49 +0300 Subject: Add missing checks into popups. --- src/gui/popups/itempopup.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/popups/itempopup.h') diff --git a/src/gui/popups/itempopup.h b/src/gui/popups/itempopup.h index c8ff7457a..32ace3af3 100644 --- a/src/gui/popups/itempopup.h +++ b/src/gui/popups/itempopup.h @@ -75,7 +75,8 @@ class ItemPopup final : public Popup int mLastId; unsigned char mLastColor; - void setLabelColor(Label *label, const ItemType::Type type) const; + void setLabelColor(Label *label, + const ItemType::Type type) const A_NONNULL(2); }; extern ItemPopup *itemPopup; -- cgit v1.2.3-70-g09d2