(dispserv_x11.c) Get rid of unused variable

This commit is contained in:
twinaphex 2019-02-09 04:11:14 +01:00
parent eee2445c45
commit 0dc533d976

View File

@ -133,7 +133,6 @@ static bool x11_display_server_set_resolution(void *data,
Window window;
XRRScreenResources *res = NULL;
Display *dsp = NULL;
Screen *scrn = NULL;
int i = 0;
int hfp = 0;
int hsp = 0;
@ -154,7 +153,6 @@ static bool x11_display_server_set_resolution(void *data,
snprintf(old_mode, sizeof(old_mode), "%s", new_mode);
dsp = XOpenDisplay(NULL);
scrn = DefaultScreenOfDisplay(dsp);
screen = DefaultScreen ( dsp );
window = RootWindow ( dsp, screen );