From cb5a4e210cd6d74def3494906b6ebd09a304653c Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Thu, 15 Aug 2019 07:57:53 -0230 Subject: [PATCH] Fix minor clang warnings. --- src/gui/DialogContainer.hxx | 4 ++-- src/gui/EventMappingWidget.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/DialogContainer.hxx b/src/gui/DialogContainer.hxx index ee97cddf4..850859454 100644 --- a/src/gui/DialogContainer.hxx +++ b/src/gui/DialogContainer.hxx @@ -106,7 +106,7 @@ class DialogContainer @param stick The joystick number @param axis The joystick axis - @param value Value associated with given axis + @param adir Value associated with given axis */ void handleJoyAxisEvent(int stick, JoyAxis axis, JoyDir adir, int button); @@ -115,7 +115,7 @@ class DialogContainer @param stick The joystick number @param hat The joystick hat - @param hdir Direction of the with given hat + @param hdir Direction of the given hat */ void handleJoyHatEvent(int stick, int hat, JoyHatDir hdir, int button); diff --git a/src/gui/EventMappingWidget.cxx b/src/gui/EventMappingWidget.cxx index 49d3241a2..603eadcd0 100644 --- a/src/gui/EventMappingWidget.cxx +++ b/src/gui/EventMappingWidget.cxx @@ -44,9 +44,9 @@ EventMappingWidget::EventMappingWidget(GuiObject* boss, const GUI::Font& font, myActionSelected(-1), myRemapStatus(false), myLastStick(0), + myLastHat(0), myLastAxis(JoyAxis::NONE), myLastDir(JoyDir::NONE), - myLastHat(0), myLastHatDir(JoyHatDir::CENTER), myLastButton(JOY_CTRL_NONE), myFirstTime(true)