C89_BUILD fixes

This commit is contained in:
twinaphex 2017-03-05 19:25:11 +01:00
parent df1313bc37
commit 3a5eb48c4a
2 changed files with 8 additions and 10 deletions

View File

@ -3389,8 +3389,6 @@ static int action_ok_push_scan_file(const char *path,
static void netplay_refresh_rooms_cb(void *task_data, void *user_data, const char *err)
{
char buf[PATH_MAX_LENGTH];
RARCH_LOG("Refreshing rooms...\n");
http_transfer_data_t *data = (http_transfer_data_t*)task_data;
buf[0] = '\0';

View File

@ -443,6 +443,8 @@ static int menu_input_pointer_post_iterate(
if (!pointer_oldpressed[0])
{
menu_ctx_pointer_t point;
menu_input->pointer.accel = 0;
accel0 = 0;
accel1 = 0;
@ -452,14 +454,12 @@ static int menu_input_pointer_post_iterate(
pointer_old_y = pointer_y;
pointer_oldpressed[0] = true;
menu_ctx_pointer_t point;
point.x = start_x;
point.y = start_y;
point.ptr = menu_input->pointer.ptr;
point.cbs = cbs;
point.entry = entry;
point.action = action;
point.x = start_x;
point.y = start_y;
point.ptr = menu_input->pointer.ptr;
point.cbs = cbs;
point.entry = entry;
point.action = action;
menu_driver_ctl(RARCH_MENU_CTL_POINTER_DOWN, &point);
}