ecore x - convert to using unsed instead of dummy state,ents after ret

found by PVS studio
This commit is contained in:
Carsten Haitzler 2017-07-31 12:12:40 +09:00
parent b1e9d46bcc
commit d371ece4a9
1 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,7 @@ ecore_x_xinerama_screen_count_get(void)
}
EAPI Eina_Bool
ecore_x_xinerama_screen_geometry_get(int screen,
ecore_x_xinerama_screen_geometry_get(int screen EINA_UNUSED, // if no xinerama
int *x,
int *y,
int *w,
@ -89,6 +89,5 @@ ecore_x_xinerama_screen_geometry_get(int screen,
*h = DisplayHeight(_ecore_x_disp, 0);
return EINA_FALSE;
screen = 0;
}