summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2017-04-28 14:15:18 (GMT)
committerdgp <dgp@users.sourceforge.net>2017-04-28 14:15:18 (GMT)
commitdc9c72819c2c48b04051b15afad583edecfc5aa7 (patch)
tree35b7811110d28fe4c65258d25f3ac2ada9327494
parentfecff1bcf0617bd35993cd9cb43a5f6a61618336 (diff)
downloadtcl-dc9c72819c2c48b04051b15afad583edecfc5aa7.zip
tcl-dc9c72819c2c48b04051b15afad583edecfc5aa7.tar.gz
tcl-dc9c72819c2c48b04051b15afad583edecfc5aa7.tar.bz2
silence uninit variable warnings
-rw-r--r--generic/tclExecute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index d30e757..6499cf8 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -9408,7 +9408,7 @@ TclCompareTwoNumbers(
Tcl_Obj *valuePtr,
Tcl_Obj *value2Ptr)
{
- int type1, type2, compare;
+ int type1 = TCL_NUMBER_NAN, type2 = TCL_NUMBER_NAN, compare;
ClientData ptr1, ptr2;
mp_int big1, big2;
double d1, d2, tmp;