From cacbc547c0c473240ec715fe567275900c41675d Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Tue, 7 May 2002 11:01:18 +0000 Subject: [PATCH] Fix some pedantic warnings (Old svn revision: 10293) --- src/client.c | 2 +- src/menu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.c b/src/client.c index 930486c0d..84274fb58 100644 --- a/src/client.c +++ b/src/client.c @@ -948,7 +948,7 @@ static inline Client *clientGetBottomMost(int layer, Client *exclude) { Window w1, w2, *wins = NULL; unsigned int i, count; - Client *c; + Client *c = NULL; DBG("entering clientGetBottomMost\n"); diff --git a/src/menu.c b/src/menu.c index 4024b65f8..5715171cc 100644 --- a/src/menu.c +++ b/src/menu.c @@ -249,7 +249,7 @@ static gboolean grab_available (guint32 timestamp) GDK_POINTER_MOTION_MASK; GdkGrabStatus g1; GdkGrabStatus g2; - gboolean grab_failed; + gboolean grab_failed = FALSE; gint i = 0; DBG("entering grab_available\n"); -- GitLab