From ba0f3a250d1768d3aef3e1ff48712a02ad468e05 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Tue, 16 Sep 2014 18:09:21 -0600 Subject: [PATCH] Revert "ttsnoop: NULL is not 0" This reverts commit 6a9327f2ab0bb09a681b86a45cf4a7bf9e9c28d4. The real fix for this (and other issues) needs to be done in dtcodegen. --- cde/programs/ttsnoop/ttsnoop.C.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cde/programs/ttsnoop/ttsnoop.C.src b/cde/programs/ttsnoop/ttsnoop.C.src index 72dd8fdf..e5fe8758 100644 --- a/cde/programs/ttsnoop/ttsnoop.C.src +++ b/cde/programs/ttsnoop/ttsnoop.C.src @@ -340,6 +340,9 @@ main(int argc, char **argv) XtAppContext app; Atom save_yourself_atom; + Pixmap icon_pixmap = 0; + Pixmap icon_mask_pixmap = 0; + /************************************************************************** *** DTB_USER_CODE_START *** @@ -348,9 +351,6 @@ main(int argc, char **argv) *** Add local variables and code. ***/ - Pixmap icon_pixmap = 0; - Pixmap icon_mask_pixmap = 0; - /* * The application must call DtTermInitialize() before * initializing the Xt Toolkit with XtAppInitialize(3X). -- 2.25.1