From 1d7743062b46a9021442e694fb0ce567267a9bb6 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Wed, 4 Dec 2024 14:37:24 +0000 Subject: One more TCL_UNUSED() usage --- win/tclWinFile.c | 4 +--- 1 file changed, 1 insertion(+), 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); -- cgit v0.12