[FL-2520] FW build with -Wextra (#1185)
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -75,6 +75,7 @@ void power_settings_app_free(PowerSettingsApp* app) {
|
||||
}
|
||||
|
||||
int32_t power_settings_app(void* p) {
|
||||
UNUSED(p);
|
||||
PowerSettingsApp* app = power_settings_app_alloc();
|
||||
view_dispatcher_run(app->view_dispatcher);
|
||||
power_settings_app_free(app);
|
||||
|
@@ -31,4 +31,5 @@ bool power_settings_scene_battery_info_on_event(void* context, SceneManagerEvent
|
||||
}
|
||||
|
||||
void power_settings_scene_battery_info_on_exit(void* context) {
|
||||
UNUSED(context);
|
||||
}
|
||||
|
@@ -33,6 +33,7 @@ void power_settings_scene_reboot_on_enter(void* context) {
|
||||
}
|
||||
|
||||
bool power_settings_scene_reboot_on_event(void* context, SceneManagerEvent event) {
|
||||
UNUSED(context);
|
||||
bool consumed = false;
|
||||
|
||||
if(event.type == SceneManagerEventTypeCustom) {
|
||||
|
Reference in New Issue
Block a user