summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2008-03-19 17:31:35 (GMT)
committerdas <das>2008-03-19 17:31:35 (GMT)
commit4f4fb2cb42985fdfa9c4bb21ee432cdedb70e2a8 (patch)
tree632b6c3cc956740877df111c4ffc7207ca93aa92 /generic
parent56c8777eeb2bf01f715ae68869551b3ac941be3b (diff)
downloadtk-4f4fb2cb42985fdfa9c4bb21ee432cdedb70e2a8.zip
tk-4f4fb2cb42985fdfa9c4bb21ee432cdedb70e2a8.tar.gz
tk-4f4fb2cb42985fdfa9c4bb21ee432cdedb70e2a8.tar.bz2
initialize StubsPtr vars to NULL
Diffstat (limited to 'generic')
-rw-r--r--generic/tkStubLib.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tkStubLib.c b/generic/tkStubLib.c
index 358d2ec..fbf1ed1 100644
--- a/generic/tkStubLib.c
+++ b/generic/tkStubLib.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkStubLib.c,v 1.19 2007/12/13 15:24:16 dgp Exp $
+ * RCS: @(#) $Id: tkStubLib.c,v 1.20 2008/03/19 17:31:35 das Exp $
*/
/*
@@ -48,11 +48,11 @@
#include "tkPlatDecls.h"
#include "tkIntXlibDecls.h"
-TkStubs *tkStubsPtr;
-TkPlatStubs *tkPlatStubsPtr;
-TkIntStubs *tkIntStubsPtr;
-TkIntPlatStubs *tkIntPlatStubsPtr;
-TkIntXlibStubs *tkIntXlibStubsPtr;
+TkStubs *tkStubsPtr = NULL;
+TkPlatStubs *tkPlatStubsPtr = NULL;
+TkIntStubs *tkIntStubsPtr = NULL;
+TkIntPlatStubs *tkIntPlatStubsPtr = NULL;
+TkIntXlibStubs *tkIntXlibStubsPtr = NULL;
/*
* Use our own isdigit to avoid linking to libc on windows