mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Api Symbols: replace asserts with checks
merge ofw commit
This commit is contained in:
@@ -8,6 +8,7 @@ void dialog_file_browser_set_basic_options(
|
||||
DialogsFileBrowserOptions* options,
|
||||
const char* extension,
|
||||
const Icon* icon) {
|
||||
furi_check(options);
|
||||
options->extension = extension;
|
||||
options->base_path = NULL;
|
||||
options->skip_assets = true;
|
||||
@@ -18,7 +19,7 @@ void dialog_file_browser_set_basic_options(
|
||||
options->item_loader_context = NULL;
|
||||
}
|
||||
|
||||
static DialogsApp* dialogs_app_alloc() {
|
||||
static DialogsApp* dialogs_app_alloc(void) {
|
||||
DialogsApp* app = malloc(sizeof(DialogsApp));
|
||||
app->message_queue = furi_message_queue_alloc(8, sizeof(DialogsAppMessage));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user