diff options
author | hobbs <hobbs> | 2004-10-05 01:26:09 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-10-05 01:26:09 (GMT) |
commit | 4edc0c5861d699d65719821e9f4fcc05baa5f66e (patch) | |
tree | 6fcd2c267e54c7505fd79612b8f41ec6c7cd7e53 /generic/tkTextMark.c | |
parent | a2822ba5cd880344354d171a420d26c4c5a93855 (diff) | |
download | tk-4edc0c5861d699d65719821e9f4fcc05baa5f66e.zip tk-4edc0c5861d699d65719821e9f4fcc05baa5f66e.tar.gz tk-4edc0c5861d699d65719821e9f4fcc05baa5f66e.tar.bz2 |
fix init warnings
Diffstat (limited to 'generic/tkTextMark.c')
-rw-r--r-- | generic/tkTextMark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextMark.c b/generic/tkTextMark.c index a536f6c..234ccd7 100644 --- a/generic/tkTextMark.c +++ b/generic/tkTextMark.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: tkTextMark.c,v 1.12 2004/09/10 12:13:42 vincentdarley Exp $ + * RCS: @(#) $Id: tkTextMark.c,v 1.13 2004/10/05 01:26:10 hobbs Exp $ */ #include "tkInt.h" @@ -265,7 +265,7 @@ TkTextSetMark(textPtr, name, indexPtr) CONST char *name; /* Name of mark to set. */ TkTextIndex *indexPtr; /* Where to set mark. */ { - Tcl_HashEntry *hPtr; + Tcl_HashEntry *hPtr = NULL; TkTextSegment *markPtr; TkTextIndex insertIndex; int new; |