From c42498e531dad019f003e6bcc2d81b678d667949 Mon Sep 17 00:00:00 2001 From: zoltanvb <101990835+zoltanvb@users.noreply.github.com> Date: Mon, 6 Nov 2023 09:04:17 +0100 Subject: [PATCH] Warning fixes. (#15877) --- input/drivers/udev_input.c | 4 ++-- ui/drivers/qt/qt_downloads.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/input/drivers/udev_input.c b/input/drivers/udev_input.c index 9b26076224..e80c7fb959 100644 --- a/input/drivers/udev_input.c +++ b/input/drivers/udev_input.c @@ -3291,13 +3291,13 @@ static int udev_input_add_device(udev_input_t *udev, device->mouse.y_max = absinfo.maximum; } -#ifdef UDEV_TOUCH_SUPPORT if (touch) { +#ifdef UDEV_TOUCH_SUPPORT udev_init_touch_dev(device); udev_sync_touch(device); - } #endif + } if (!mouse) goto end; diff --git a/ui/drivers/qt/qt_downloads.cpp b/ui/drivers/qt/qt_downloads.cpp index 97113bb7f9..f438310525 100644 --- a/ui/drivers/qt/qt_downloads.cpp +++ b/ui/drivers/qt/qt_downloads.cpp @@ -1,4 +1,5 @@ #include +#include #include #include