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