initialize trans with 0
authorAnselm R Garbe <garbeam@gmail.com>
Mon, 18 Aug 2008 08:57:34 +0100
changeset 1322 3d39dc3001cc
parent 1321 bca7a556aa03
child 1323 c1d2b106440d
initialize trans with 0
dwm.c
--- a/dwm.c	Thu Aug 14 22:35:52 2008 +0200
+++ b/dwm.c	Mon Aug 18 08:57:34 2008 +0100
@@ -865,7 +865,7 @@
 void
 manage(Window w, XWindowAttributes *wa) {
 	Client *c, *t = NULL;
-	Window trans;
+	Window trans = 0;
 	XWindowChanges wc;
 
 	if(!(c = calloc(1, sizeof(Client))))