JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
initialize trans with 0
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index 8591a7d..1987601 100644 (file)
--- 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))))