Fix gcc warnings
Ian Zimmerman itz@buug.org
3 files changed,
3 insertions(+),
4 deletions(-)
M
obrender/test.c
→
obrender/test.c
@@ -46,7 +46,6 @@ RrInstance *inst;
RrAppearance *look; int done; - Window root; XEvent report; gint h = 500, w = 500;@@ -64,7 +63,6 @@ 0, /* valuemask */
0); /* attributes */ XMapWindow(ob_display, win); XSelectInput(ob_display, win, ExposureMask | StructureNotifyMask); - root = RootWindow (ob_display, DefaultScreen (ob_display)); inst = RrInstanceNew(ob_display, ob_screen); look = RrAppearanceNew(inst, 0);
M
openbox/client.c
→
openbox/client.c
@@ -218,7 +218,7 @@ Rect place;
Time launch_time; guint32 user_time; gboolean obplaced; - gulong ignore_start; + gulong ignore_start = FALSE; ob_debug("Managing window: 0x%lx", window);
M
openbox/screen.c
→
openbox/screen.c
@@ -1327,8 +1327,9 @@
static void get_xinerama_screens(Rect **xin_areas, guint *nxin) { guint i; - gint n, l, r, t, b; + gint l, r, t, b; #ifdef XINERAMA + gint n; XineramaScreenInfo *info; #endif