Skip to content
Snippets Groups Projects
Commit 63434549 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix some more warnings when not using optional features.

parent d80c336e
Branches
Tags
No related merge requests found
Pipeline #6736 failed
...@@ -450,11 +450,11 @@ static bool ...@@ -450,11 +450,11 @@ static bool
fullscreen_geometry(int *x_org, int *y_org, int *width, int *height) fullscreen_geometry(int *x_org, int *y_org, int *width, int *height)
{ {
Window root; Window root;
Window cr;
uint64_t dummy; uint64_t dummy;
unsigned int rw, rh; unsigned int rw, rh;
int wx, wy; int wx, wy;
#if defined(WITH_XRANDR) || defined(WITH_XINERAMA) #if defined(WITH_XRANDR) || defined(WITH_XINERAMA)
Window cr;
int cx, cy; int cx, cy;
int i; int i;
#endif #endif
...@@ -981,7 +981,9 @@ static int init_window() ...@@ -981,7 +981,9 @@ static int init_window()
int w, h; int w, h;
int mw, mh; int mw, mh;
int screen; int screen;
#if (defined(WITH_XRENDER) || defined(WITH_XINERAMA))
int major, minor; int major, minor;
#endif
unsigned long pid_l; unsigned long pid_l;
Atom a; Atom a;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment