[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:
@@ -298,7 +298,6 @@ void notification_process_notification_message(
|
||||
need_minimal_delay = true;
|
||||
}
|
||||
|
||||
led_active = false;
|
||||
notification_apply_notification_leds(app, led_values);
|
||||
reset_mask |= reset_red_mask;
|
||||
reset_mask |= reset_green_mask;
|
||||
@@ -489,6 +488,7 @@ static NotificationApp* notification_app_alloc() {
|
||||
|
||||
// App
|
||||
int32_t notification_srv(void* p) {
|
||||
UNUSED(p);
|
||||
NotificationApp* app = notification_app_alloc();
|
||||
|
||||
if(!notification_load_settings(app)) {
|
||||
|
@@ -34,4 +34,4 @@ void notification_internal_message_block(
|
||||
furi_check(osMessageQueuePut(app->queue, &m, 0, osWaitForever) == osOK);
|
||||
osEventFlagsWait(m.back_event, NOTIFICATION_EVENT_COMPLETE, osFlagsWaitAny, osWaitForever);
|
||||
osEventFlagsDelete(m.back_event);
|
||||
};
|
||||
};
|
||||
|
@@ -120,6 +120,7 @@ static void vibro_changed(VariableItem* item) {
|
||||
}
|
||||
|
||||
static uint32_t notification_app_settings_exit(void* context) {
|
||||
UNUSED(context);
|
||||
return VIEW_NONE;
|
||||
}
|
||||
|
||||
@@ -189,6 +190,7 @@ static void free_settings(NotificationAppSettings* app) {
|
||||
}
|
||||
|
||||
int32_t notification_settings_app(void* p) {
|
||||
UNUSED(p);
|
||||
NotificationAppSettings* app = alloc_settings();
|
||||
view_dispatcher_run(app->view_dispatcher);
|
||||
notification_message_save_settings(app->notification);
|
||||
|
Reference in New Issue
Block a user