From 23cf1c2737bc0cc493884a79bd14324244e37571 Mon Sep 17 00:00:00 2001 From: gullradriel <3157857+gullradriel@users.noreply.github.com> Date: Wed, 3 Apr 2024 21:17:48 +0200 Subject: [PATCH] fix build warning in settings (#2081) * fix warning ui::SetAutostartView::opts' should be initialized in the member initialization list * clang --------- Co-authored-by: gullradriel --- firmware/application/apps/ui_settings.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/apps/ui_settings.hpp b/firmware/application/apps/ui_settings.hpp index 9a0aeff0..6e66ebf7 100644 --- a/firmware/application/apps/ui_settings.hpp +++ b/firmware/application/apps/ui_settings.hpp @@ -810,8 +810,8 @@ class SetAutostartView : public View { private: int32_t i = 0; std::string autostart_app{""}; - OptionsField::options_t opts; - std::map full_app_list; // looking table + OptionsField::options_t opts{}; + std::map full_app_list{}; // looking table int32_t selected = 0; SettingsStore nav_setting{ "nav"sv,