summaryrefslogtreecommitdiffstats
path: root/win/tkWinFont.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-01-12 10:41:23 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-01-12 10:41:23 (GMT)
commit6c75da00b675108a826e392e827698d4eeb5e4cf (patch)
treeef82d8fda6efa38bb2958e9d9816fd6f4b4eedbf /win/tkWinFont.c
parent32d9b2358c24a7c31ab8662b3c8d91dd932dbde0 (diff)
downloadtk-6c75da00b675108a826e392e827698d4eeb5e4cf.zip
tk-6c75da00b675108a826e392e827698d4eeb5e4cf.tar.gz
tk-6c75da00b675108a826e392e827698d4eeb5e4cf.tar.bz2
More warning squelching (mostly uninit variable warnings)
Diffstat (limited to 'win/tkWinFont.c')
-rw-r--r--win/tkWinFont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinFont.c b/win/tkWinFont.c
index 7ae3db7..a86a6bd 100644
--- a/win/tkWinFont.c
+++ b/win/tkWinFont.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: tkWinFont.c,v 1.29 2007/01/11 15:35:40 dkf Exp $
+ * RCS: @(#) $Id: tkWinFont.c,v 1.30 2007/01/12 10:41:23 dkf Exp $
*/
#include "tkWinInt.h"
@@ -672,7 +672,7 @@ Tk_MeasureChars(
Tcl_DString runString;
SubFont *thisSubFontPtr;
SubFont *lastSubFontPtr;
- CONST char *p, *end, *next, *start;
+ CONST char *p, *end, *next = NULL, *start;
if (numBytes == 0) {
*lengthPtr = 0;