summaryrefslogtreecommitdiffstats
path: root/win/tclWinTest.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinTest.c')
-rw-r--r--win/tclWinTest.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/win/tclWinTest.c b/win/tclWinTest.c
index f45b557..c910bc5 100644
--- a/win/tclWinTest.c
+++ b/win/tclWinTest.c
@@ -322,18 +322,14 @@ TestSizeCmd(
if (objc != 2) {
goto syntax;
}
- if (strcmp(Tcl_GetString(objv[1]), "time_t") == 0) {
- Tcl_SetObjResult(interp, Tcl_NewWideIntObj(sizeof(time_t)));
- return TCL_OK;
- }
if (strcmp(Tcl_GetString(objv[1]), "st_mtime") == 0) {
- Tcl_StatBuf *statPtr;
- Tcl_SetObjResult(interp, Tcl_NewWideIntObj(sizeof(statPtr->st_mtime)));
- return TCL_OK;
+ Tcl_StatBuf *statPtr;
+ Tcl_SetObjResult(interp, Tcl_NewWideIntObj(sizeof(statPtr->st_mtime)));
+ return TCL_OK;
}
syntax:
- Tcl_WrongNumArgs(interp, 1, objv, "time_t|st_mtime");
+ Tcl_WrongNumArgs(interp, 1, objv, "st_mtime");
return TCL_ERROR;
}