initialize trans with 0

This commit is contained in:
Anselm R Garbe 2008-08-18 08:57:34 +01:00
parent 06f7eed103
commit bb01e5a16f
1 changed files with 1 additions and 1 deletions

2
dwm.c
View File

@ -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))))