summaryrefslogtreecommitdiffstats
path: root/generic/tkTextTag.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-10-05 01:26:09 (GMT)
committerhobbs <hobbs>2004-10-05 01:26:09 (GMT)
commitbdbbd44f5ecfdef44242a059886d3ee31a840af3 (patch)
tree6fcd2c267e54c7505fd79612b8f41ec6c7cd7e53 /generic/tkTextTag.c
parent0ad6f30a4743fdc26a62d4c0c8d677519f85b8c7 (diff)
downloadtk-bdbbd44f5ecfdef44242a059886d3ee31a840af3.zip
tk-bdbbd44f5ecfdef44242a059886d3ee31a840af3.tar.gz
tk-bdbbd44f5ecfdef44242a059886d3ee31a840af3.tar.bz2
fix init warnings
Diffstat (limited to 'generic/tkTextTag.c')
-rw-r--r--generic/tkTextTag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextTag.c b/generic/tkTextTag.c
index 41e61b1..eb09566 100644
--- a/generic/tkTextTag.c
+++ b/generic/tkTextTag.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextTag.c,v 1.18 2004/09/10 12:13:42 vincentdarley Exp $
+ * RCS: @(#) $Id: tkTextTag.c,v 1.19 2004/10/05 01:26:10 hobbs Exp $
*/
#include "default.h"
@@ -920,7 +920,7 @@ TkTextCreateTag(textPtr, tagName, newTag)
* or 0 if already exists. */
{
register TkTextTag *tagPtr;
- Tcl_HashEntry *hPtr;
+ Tcl_HashEntry *hPtr = NULL;
int new;
CONST char *name;