summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-02-11 23:59:39 (GMT)
committerhobbs <hobbs>2003-02-11 23:59:39 (GMT)
commitb05122813d01093b2b7448f1554203b7915f0905 (patch)
tree1b52e6930803556698131323fcc68b69f37c3c1c /generic
parent5ea88a91277fd9a447ef118a88f4699698335841 (diff)
downloadtcl-b05122813d01093b2b7448f1554203b7915f0905.zip
tcl-b05122813d01093b2b7448f1554203b7915f0905.tar.gz
tcl-b05122813d01093b2b7448f1554203b7915f0905.tar.bz2
lint init regexp
Diffstat (limited to 'generic')
-rw-r--r--generic/tclCmdIL.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c
index f464d25..4bbe241 100644
--- a/generic/tclCmdIL.c
+++ b/generic/tclCmdIL.c
@@ -15,7 +15,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdIL.c,v 1.45 2003/02/11 21:54:48 hobbs Exp $
+ * RCS: @(#) $Id: tclCmdIL.c,v 1.46 2003/02/11 23:59:39 hobbs Exp $
*/
#include "tclInt.h"
@@ -2778,7 +2778,7 @@ Tcl_LsearchObjCmd(clientData, interp, objc, objv)
int offset, allMatches, inlineReturn, negatedMatch;
double patDouble, objDouble;
Tcl_Obj *patObj, **listv, *listPtr, *startPtr;
- Tcl_RegExp regexp;
+ Tcl_RegExp regexp = NULL;
static CONST char *options[] = {
"-all", "-ascii", "-decreasing", "-dictionary",
"-exact", "-glob", "-increasing", "-inline",