initialize trans with 0

master
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 void
manage(Window w, XWindowAttributes *wa) { manage(Window w, XWindowAttributes *wa) {
Client *c, *t = NULL; Client *c, *t = NULL;
Window trans; Window trans = 0;
XWindowChanges wc; XWindowChanges wc;
if(!(c = calloc(1, sizeof(Client)))) if(!(c = calloc(1, sizeof(Client))))