summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-08-18 08:57:34 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-08-18 08:57:34 +0100
commitbb01e5a16f430e8b4629bab426bacfdff87f1198 (patch)
tree01e0404fa23c8e2c639f794995b9a9d55aed6ff7
parent06f7eed103057e55201e143fd319afd4bd410bdb (diff)
initialize trans with 0
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 8591a7d8..1987601d 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))))