diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-03-27 11:14:50 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-03-27 11:14:50 (GMT) |
commit | 587c1ebdba4cb0f92dcd91478ce711833552fd48 (patch) | |
tree | 8ce24bd46c2b62f9c3b1c507567dee7a7f687b59 /generic/tclPathObj.c | |
parent | 49b6ecfb4e17876dec5c9f9edad8d5e0a44cb52c (diff) | |
download | tcl-587c1ebdba4cb0f92dcd91478ce711833552fd48.zip tcl-587c1ebdba4cb0f92dcd91478ce711833552fd48.tar.gz tcl-587c1ebdba4cb0f92dcd91478ce711833552fd48.tar.bz2 |
Avoid msvc "illegal indirection" error.
Diffstat (limited to 'generic/tclPathObj.c')
-rw-r--r-- | generic/tclPathObj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclPathObj.c b/generic/tclPathObj.c index aefc84f..64b79ed 100644 --- a/generic/tclPathObj.c +++ b/generic/tclPathObj.c @@ -2350,7 +2350,7 @@ SetFsPathFromAny( fsPathPtr = (FsPath *)ckalloc(sizeof(FsPath)); if (transPtr == pathPtr) { - Tcl_GetStringFromObj(pathPtr, NULL); + (void) Tcl_GetStringFromObj(pathPtr, NULL); TclFreeInternalRep(pathPtr); transPtr = Tcl_DuplicateObj(pathPtr); fsPathPtr->filesystemEpoch = 0; |