Skip to content

Commit

Permalink
fix build warning in settings (#2081)
Browse files Browse the repository at this point in the history
* fix warning ui::SetAutostartView::opts' should be initialized in the member initialization list

* clang

---------

Co-authored-by: gullradriel <gullradriel@no-mail.com>
  • Loading branch information
gullradriel and gullradriel committed Apr 3, 2024
1 parent c48cbb7 commit 23cf1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/application/apps/ui_settings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,8 @@ class SetAutostartView : public View {
private:
int32_t i = 0;
std::string autostart_app{""};
OptionsField::options_t opts;
std::map<int32_t, std::string> full_app_list; // looking table
OptionsField::options_t opts{};
std::map<int32_t, std::string> full_app_list{}; // looking table
int32_t selected = 0;
SettingsStore nav_setting{
"nav"sv,
Expand Down

0 comments on commit 23cf1c2

Please sign in to comment.