Finally void-out textlen in the callbacks (no more compiler warnings)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user