summaryrefslogtreecommitdiffstats
path: root/generic/tclPathObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-03 20:32:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-09-03 20:32:33 (GMT)
commit8c60b1157a27a535111861c5a83b64d502ec1948 (patch)
tree8388b53b8610267c8b8a1755286e96878c170cd3 /generic/tclPathObj.c
parent97cf6a1affd8abe431bad7a2c560b434aa953354 (diff)
downloadtcl-8c60b1157a27a535111861c5a83b64d502ec1948.zip
tcl-8c60b1157a27a535111861c5a83b64d502ec1948.tar.gz
tcl-8c60b1157a27a535111861c5a83b64d502ec1948.tar.bz2
Mark more unused parameters
Diffstat (limited to 'generic/tclPathObj.c')
-rw-r--r--generic/tclPathObj.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/generic/tclPathObj.c b/generic/tclPathObj.c
index 9e62c7c..41fb0c6 100644
--- a/generic/tclPathObj.c
+++ b/generic/tclPathObj.c
@@ -1402,13 +1402,14 @@ AppendPath(
Tcl_Obj *
TclFSMakePathRelative(
- Tcl_Interp *interp, /* Used for error reporting if not NULL. */
+ Tcl_Interp *dummy, /* Used for error reporting if not NULL. */
Tcl_Obj *pathPtr, /* The path we have. */
Tcl_Obj *cwdPtr) /* Make it relative to this. */
{
int cwdLen, len;
const char *tempStr;
Tcl_ObjIntRep *irPtr = TclFetchIntRep(pathPtr, &fsPathType);
+ (void)dummy;
if (irPtr) {
FsPath *fsPathPtr = PATHOBJ(pathPtr);
@@ -1473,10 +1474,11 @@ TclFSMakePathRelative(
static int
MakePathFromNormalized(
- Tcl_Interp *interp, /* Used for error reporting if not NULL. */
+ Tcl_Interp *dummy, /* Not used. */
Tcl_Obj *pathPtr) /* The object to convert. */
{
FsPath *fsPathPtr;
+ (void)dummy;
if (TclHasIntRep(pathPtr, &fsPathType)) {
return TCL_OK;
@@ -2548,8 +2550,9 @@ UpdateStringOfFsPath(
int
TclNativePathInFilesystem(
Tcl_Obj *pathPtr,
- ClientData *clientDataPtr)
+ ClientData *dummy)
{
+ (void)dummy;
/*
* A special case is required to handle the empty path "". This is a valid
* path (i.e. the user should be able to do 'file exists ""' without