Silence warning

This commit is contained in:
twinaphex 2016-11-21 15:00:57 +01:00
parent d556173d2f
commit 21e9bde569
2 changed files with 5 additions and 2 deletions

View File

@ -94,6 +94,8 @@ enum overlay_image_transfer_status
struct overlay
{
unsigned id;
struct overlay_desc *descs;
size_t size;
size_t pos;

View File

@ -525,8 +525,9 @@ static void mui_render(void *data)
if (settings->menu.pointer.enable)
{
int16_t pointer_y = menu_input_pointer_state(MENU_POINTER_Y_AXIS);
float old_accel_val, new_accel_val;
int16_t pointer_y = menu_input_pointer_state(MENU_POINTER_Y_AXIS);
float old_accel_val = 0.0f;
float new_accel_val = 0.0f;
unsigned new_pointer_val =
(pointer_y - mui->line_height + mui->scroll_y - 16)
/ mui->line_height;