[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:
@@ -1,6 +1,6 @@
|
||||
#include "scened_app_scene_byte_input.h"
|
||||
|
||||
void ScenedAppSceneByteInput::on_enter(ScenedApp* app, bool need_restore) {
|
||||
void ScenedAppSceneByteInput::on_enter(ScenedApp* app, bool /* need_restore */) {
|
||||
ByteInputVM* byte_input = app->view_controller;
|
||||
auto callback = cbc::obtain_connector(this, &ScenedAppSceneByteInput::result_callback);
|
||||
|
||||
|
@@ -16,4 +16,4 @@ private:
|
||||
0xF4,
|
||||
0xD3,
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@@ -10,4 +10,4 @@ public:
|
||||
private:
|
||||
void submenu_callback(void* context, uint32_t index);
|
||||
uint32_t submenu_item_selected = 0;
|
||||
};
|
||||
};
|
||||
|
@@ -17,4 +17,4 @@ void ScenedApp::run() {
|
||||
|
||||
notification_message(notification, &sequence_blink_green_10);
|
||||
scene_controller.process(100);
|
||||
}
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
// app enter function
|
||||
extern "C" int32_t scened_app(void* p) {
|
||||
UNUSED(p);
|
||||
ScenedApp* app = new ScenedApp();
|
||||
app->run();
|
||||
delete app;
|
||||
|
Reference in New Issue
Block a user