summaryrefslogtreecommitdiffstats
path: root/generic/tclTimer.c
diff options
context:
space:
mode:
authordas <das>2009-09-07 07:28:38 (GMT)
committerdas <das>2009-09-07 07:28:38 (GMT)
commit71eeb99bfbfdcf1437799cb69d10b599f7633293 (patch)
tree9ce27be993bcf700cfffdd10f234b82b35f6c435 /generic/tclTimer.c
parentc70d85c03e5455903df2df0534bb0a8ac25b32ac (diff)
downloadtcl-71eeb99bfbfdcf1437799cb69d10b599f7633293.zip
tcl-71eeb99bfbfdcf1437799cb69d10b599f7633293.tar.gz
tcl-71eeb99bfbfdcf1437799cb69d10b599f7633293.tar.bz2
* generic/tclExecute.c: fix potential uninitialized variable use and
* generic/tclFCmd.c: null dereference flagged by clang static * generic/tclProc.c: analyzer. * generic/tclTimer.c: * generic/tclUtf.c: * generic/tclExecute.c: silence false positives from clang static * generic/tclIO.c: analyzer about potential null dereference. * generic/tclScan.c: * generic/tclCompExpr.c:
Diffstat (limited to 'generic/tclTimer.c')
-rw-r--r--generic/tclTimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclTimer.c b/generic/tclTimer.c
index 94a8c16..4f40490 100644
--- a/generic/tclTimer.c
+++ b/generic/tclTimer.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: tclTimer.c,v 1.39 2009/02/10 23:09:04 nijtmans Exp $
+ * RCS: @(#) $Id: tclTimer.c,v 1.40 2009/09/07 07:28:38 das Exp $
*/
#include "tclInt.h"
@@ -778,7 +778,7 @@ Tcl_AfterObjCmd(
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
{
- Tcl_WideInt ms; /* Number of milliseconds to wait */
+ Tcl_WideInt ms = 0; /* Number of milliseconds to wait */
Tcl_Time wakeup;
AfterInfo *afterPtr;
AfterAssocData *assocPtr;