summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/tclWinFile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 74ffc47..6c614b1 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -859,12 +859,10 @@ tclWinDebugPanic(
void
TclpFindExecutable(
- const char *argv0) /* If NULL, install PanicMessageBox, otherwise
- * ignore. */
+ TCL_UNUSED(const char *))
{
WCHAR wName[MAX_PATH];
char name[MAX_PATH * 3];
- (void)argv0;
GetModuleFileNameW(NULL, wName, sizeof(wName)/sizeof(WCHAR));
WideCharToMultiByte(CP_UTF8, 0, wName, -1, name, sizeof(name), NULL, NULL);