summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2008-06-01 02:42:19 (GMT)
committerKevin B Kenny <kennykb@acm.org>2008-06-01 02:42:19 (GMT)
commita2a2c49718f8fdda26f4c14905b28cc2e814044c (patch)
tree903458b001bcb804b27452d51b6f3ae8ebaf00f7
parentc954573bcefbcf4f7660bdb42bfe1d44f33950a7 (diff)
downloadtcl-a2a2c49718f8fdda26f4c14905b28cc2e814044c.zip
tcl-a2a2c49718f8fdda26f4c14905b28cc2e814044c.tar.gz
tcl-a2a2c49718f8fdda26f4c14905b28cc2e814044c.tar.bz2
* generic/tclDictObj.c: Added missing initializers to the ensemble
map to silence a compiler warning. Thanks to George Peter Staplin for the report.
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclDictObj.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ce12066..00133f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,11 @@
* generic/tclOODecls.h: Added the swizzling of DLLEXPORT and
* generic/tclOOIntDecls.h: DLLIMPORT needed to make EXTERN work.
+
+ * generic/tclDictObj.c: Added missing initializers to the ensemble
+ map to silence a compiler warning.
+ Thanks to George Peter Staplin for the
+ report.
2008-06-01 Donal K. Fellows <dkf@users.sf.net>
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c
index d3d30d3..5a617bc 100644
--- a/generic/tclDictObj.c
+++ b/generic/tclDictObj.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclDictObj.c,v 1.57 2008/05/30 22:54:29 dkf Exp $
+ * RCS: @(#) $Id: tclDictObj.c,v 1.58 2008/06/01 02:42:20 kennykb Exp $
*/
#include "tclInt.h"
@@ -99,7 +99,7 @@ static const EnsembleImplMap implementationMap[] = {
{"update", DictUpdateCmd, TclCompileDictUpdateCmd },
{"values", DictValuesCmd, NULL },
{"with", DictWithCmd, NULL },
- {NULL}
+ {NULL, NULL, NULL }
};
/*