summaryrefslogtreecommitdiffstats
path: root/win/tkWinDialog.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 08:15:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-16 08:15:48 (GMT)
commitaf28c015d3494e872c4094934f33251157662310 (patch)
tree69d6c8405ca5790ebbc70cb34914e1722804ad88 /win/tkWinDialog.c
parent8ef38a7e1335498220c1dad6109c3f035f878ffa (diff)
parente6fe5e1f356751dea5d391b25a6f2437ffebae5f (diff)
downloadtk-af28c015d3494e872c4094934f33251157662310.zip
tk-af28c015d3494e872c4094934f33251157662310.tar.gz
tk-af28c015d3494e872c4094934f33251157662310.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tkWinDialog.c')
-rw-r--r--win/tkWinDialog.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 36747b0..4110848 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -592,7 +592,7 @@ GetFileNameW(
OFNData ofnData;
int cdlgerr;
int filterIndex = 0, result = TCL_ERROR, winCode, oldMode, i, multi = 0;
- char *extension = NULL, *filter = NULL, *title = NULL;
+ char *extension = NULL, *title = NULL;
Tk_Window tkwin = (Tk_Window) clientData;
HWND hWnd;
Tcl_Obj *filterObj = NULL, *initialTypeObj = NULL, *typeVariableObj = NULL;
@@ -719,7 +719,6 @@ GetFileNameW(
&filterIndex) != TCL_OK) {
goto end;
}
- filter = Tcl_DStringValue(&utfFilterString);
Tk_MakeWindowExist(tkwin);
hWnd = Tk_GetHWND(Tk_WindowId(tkwin));
@@ -1133,7 +1132,7 @@ GetFileNameA(
OFNData ofnData;
int cdlgerr;
int filterIndex = 0, result = TCL_ERROR, winCode, oldMode, i, multi = 0;
- char *extension = NULL, *filter = NULL, *title = NULL;
+ char *extension = NULL, *title = NULL;
Tk_Window tkwin = (Tk_Window) clientData;
HWND hWnd;
Tcl_Obj *filterObj = NULL, *initialTypeObj = NULL, *typeVariableObj = NULL;
@@ -1258,7 +1257,6 @@ GetFileNameA(
&filterIndex) != TCL_OK) {
goto end;
}
- filter = Tcl_DStringValue(&utfFilterString);
Tk_MakeWindowExist(tkwin);
hWnd = Tk_GetHWND(Tk_WindowId(tkwin));