diff options
author | das <das> | 2008-03-19 17:31:35 (GMT) |
---|---|---|
committer | das <das> | 2008-03-19 17:31:35 (GMT) |
commit | 4f4fb2cb42985fdfa9c4bb21ee432cdedb70e2a8 (patch) | |
tree | 632b6c3cc956740877df111c4ffc7207ca93aa92 /generic | |
parent | 56c8777eeb2bf01f715ae68869551b3ac941be3b (diff) | |
download | tk-4f4fb2cb42985fdfa9c4bb21ee432cdedb70e2a8.zip tk-4f4fb2cb42985fdfa9c4bb21ee432cdedb70e2a8.tar.gz tk-4f4fb2cb42985fdfa9c4bb21ee432cdedb70e2a8.tar.bz2 |
initialize StubsPtr vars to NULL
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkStubLib.c | 12 |
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 |