summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-13 22:29:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-13 22:29:46 (GMT)
commitdff96aa27cdba340f38ae9fe05fd4ebb46f767c6 (patch)
tree396cc9a1f30e93ac14c8698b1d0008c4af8ffb93 /win/tkWinDialog.c
parent7d86aadfc1e60d69b218408955975c988e33c977 (diff)
parent8ef38a7e1335498220c1dad6109c3f035f878ffa (diff)
downloadtk-dff96aa27cdba340f38ae9fe05fd4ebb46f767c6.zip
tk-dff96aa27cdba340f38ae9fe05fd4ebb46f767c6.tar.gz
tk-dff96aa27cdba340f38ae9fe05fd4ebb46f767c6.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 06372be..ba4c2df 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -577,7 +577,7 @@ GetFileName(
OFNData ofnData;
int cdlgerr;
int filterIndex = 0, result = TCL_ERROR, winCode, oldMode, i, multi = 0;
- const char *extension = NULL, *filter = NULL, *title = NULL;
+ const char *extension = NULL, *title = NULL;
Tk_Window tkwin = clientData;
HWND hWnd;
Tcl_Obj *filterObj = NULL, *initialTypeObj = NULL, *typeVariableObj = NULL;
@@ -703,7 +703,6 @@ GetFileName(
&filterIndex) != TCL_OK) {
goto end;
}
- filter = Tcl_DStringValue(&utfFilterString);
Tk_MakeWindowExist(tkwin);
hWnd = Tk_GetHWND(Tk_WindowId(tkwin));