diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-09 00:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-09 00:27:33 +0300 |
commit | 2fa941b89177cf91cbbc84700c1d7631aa85bcc2 (patch) | |
tree | ebc3464db530afd540a67bb86ea735624841ec32 /src/input/inputmanager.h | |
parent | b4ec726fe28f65b15fd4cc7b0ef6fd72b7d24c02 (diff) | |
download | mv-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.gz mv-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.bz2 mv-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.tar.xz mv-2fa941b89177cf91cbbc84700c1d7631aa85bcc2.zip |
Add some missing checks to other files found by paranucker.
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r-- | src/input/inputmanager.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h index c9d71a091..f8e09e664 100644 --- a/src/input/inputmanager.h +++ b/src/input/inputmanager.h @@ -95,7 +95,7 @@ class InputManager final /** * Set a reference to the key setup window. */ - void setSetupInput(Setup_Input *const setupInput) + void setSetupInput(Setup_Input *const setupInput) A_NONNULL(2) { mSetupInput = setupInput; } /** @@ -145,9 +145,10 @@ class InputManager final static bool isActionActive0(const InputActionT index) A_WARN_UNUSED; - Setup_Input *mSetupInput; /**< Reference to setup window */ - - InputActionT mNewKeyIndex; /**< Index of new key to be assigned */ + /** Reference to setup window */ + Setup_Input *mSetupInput A_NONNULLPOINTER; + /** Index of new key to be assigned */ + InputActionT mNewKeyIndex; int mMask; |