Explorar el Código

initialize trans with 0

Anselm R Garbe hace 17 años
padre
commit
bb01e5a16f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dwm.c

+ 1 - 1
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))))