summaryrefslogtreecommitdiffstats
path: root/generic/tclFileName.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-02-24 10:45:04 (GMT)
committerdkf <dkf@noemail.net>2010-02-24 10:45:04 (GMT)
commit55218895cf223746f44b0965cd66871be282f53a (patch)
tree484964998d32be03482d6e1078a27f1f3187f409 /generic/tclFileName.c
parent9922e22153f7a4a4b4b4c13a2a6d4886fbf6c48a (diff)
downloadtcl-55218895cf223746f44b0965cd66871be282f53a.zip
tcl-55218895cf223746f44b0965cd66871be282f53a.tar.gz
tcl-55218895cf223746f44b0965cd66871be282f53a.tar.bz2
More tidying up (whitespace, spelling, useless parentheses, useless casts)
FossilOrigin-Name: 511d94dd873e4ace6252b896eeb821f03023f00f
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r--generic/tclFileName.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c
index 8a25eb4..8e67238 100644
--- a/generic/tclFileName.c
+++ b/generic/tclFileName.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclFileName.c,v 1.100 2009/12/28 12:55:48 dkf Exp $
+ * RCS: @(#) $Id: tclFileName.c,v 1.101 2010/02/24 10:45:04 dkf Exp $
*/
#include "tclInt.h"
@@ -1424,8 +1424,7 @@ Tcl_GlobObjCmd(
if (length <= 0) {
goto skipTypes;
}
- globTypes = (Tcl_GlobTypeData *)
- TclStackAlloc(interp, sizeof(Tcl_GlobTypeData));
+ globTypes = TclStackAlloc(interp, sizeof(Tcl_GlobTypeData));
globTypes->type = 0;
globTypes->perm = 0;
globTypes->macType = NULL;