diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:42 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-17 19:03:42 +0000 |
commit | a6bdd56c5b098599942e4091ae7e2af2d4631b44 (patch) | |
tree | e0a23167aca0fb1127f4cd78edf458b633b31eac /src/Destroy.c | |
parent | 6a13c9e08bb042c81ae904c44a38a50d785c824e (diff) |
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'src/Destroy.c')
-rw-r--r-- | src/Destroy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Destroy.c b/src/Destroy.c index aed7cc7..bc81e1f 100644 --- a/src/Destroy.c +++ b/src/Destroy.c @@ -58,6 +58,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/Xt/Destroy.c,v 1.3 2001/12/14 19:56:11 dawes Exp $ */ #include "IntrinsicI.h" @@ -188,7 +189,7 @@ static Boolean IsDescendant(widget, root) static void XtPhase2Destroy (widget) register Widget widget; { - Display *display; + Display *display = NULL; Window window; Widget parent; XtAppContext app = XtWidgetToApplicationContext(widget); @@ -244,9 +245,6 @@ static void XtPhase2Destroy (widget) */ if (XtIsShell(widget) || !XtIsWidget(widget)) { window = 0; -#ifdef lint - display = 0; -#endif } else { display = XtDisplay(widget); |