From: Anselm R Garbe Date: Mon, 18 Aug 2008 07:57:34 +0000 (+0100) Subject: initialize trans with 0 X-Git-Url: https://git.xinqibao.xyz/dwm.git/commitdiff_plain/bb01e5a16f430e8b4629bab426bacfdff87f1198?ds=sidebyside;hp=--cc initialize trans with 0 --- bb01e5a16f430e8b4629bab426bacfdff87f1198 diff --git a/dwm.c b/dwm.c index 8591a7d..1987601 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))))