[hackers] [dwm] initialize trans with 0 || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Mon, 18 Aug 2008 07:57:38 +0000 (UTC)

changeset: 1322:3d39dc3001cc
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Mon Aug 18 08:57:34 2008 +0100
files: dwm.c
description:
initialize trans with 0

diff -r bca7a556aa03 -r 3d39dc3001cc dwm.c
--- a/dwm.c Thu Aug 14 22:35:52 2008 +0200
+++ b/dwm.c Mon Aug 18 08:57:34 2008 +0100
@@ -865,7 +865,7 @@
 void
 manage(Window w, XWindowAttributes *wa) {
         Client *c, *t = NULL;
- Window trans;
+ Window trans = 0;
         XWindowChanges wc;
 
         if(!(c = calloc(1, sizeof(Client))))
Received on Mon Aug 18 2008 - 07:57:38 UTC

This archive was generated by hypermail 2.2.0 : Mon Aug 18 2008 - 08:00:04 UTC