From bb01e5a16f430e8b4629bab426bacfdff87f1198 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Mon, 18 Aug 2008 08:57:34 +0100 Subject: initialize trans with 0 --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index 8591a7d8..1987601d 100644 --- a/dwm.c +++ b/dwm.c @@ -865,7 +865,7 @@ killclient(const Arg *arg) { void manage(Window w, XWindowAttributes *wa) { Client *c, *t = NULL; - Window trans; + Window trans = 0; XWindowChanges wc; if(!(c = calloc(1, sizeof(Client)))) -- cgit v1.2.3