diff --git a/source/main.c b/source/main.c index e544a96..aaaf17b 100644 --- a/source/main.c +++ b/source/main.c @@ -239,6 +239,7 @@ static void load_lists(Entry_List_s * lists) static SwkbdCallbackResult jump_menu_callback(void* entries_count, const char** ppMessage, const char* text, size_t textlen) { + (void)textlen; int typed_value = atoi(text); if(typed_value > *(int*)entries_count) { diff --git a/source/remote.c b/source/remote.c index 0c7440c..f5bd794 100644 --- a/source/remote.c +++ b/source/remote.c @@ -351,6 +351,7 @@ static void download_remote_entry(Entry_s * entry, EntryMode mode) static SwkbdCallbackResult jump_menu_callback(void* page_number, const char** ppMessage, const char* text, size_t textlen) { + (void)textlen; int typed_value = atoi(text); if(typed_value > *(json_int_t*)page_number) {