summaryrefslogtreecommitdiffstats
path: root/win/tkWinSendCom.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/tkWinSendCom.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/tkWinSendCom.c')
-rw-r--r--win/tkWinSendCom.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tkWinSendCom.c b/win/tkWinSendCom.c
index 59e2b69..3bbdd63 100644
--- a/win/tkWinSendCom.c
+++ b/win/tkWinSendCom.c
@@ -372,7 +372,6 @@ Async(
UINT *puArgErr)
{
HRESULT hr = S_OK;
- int result = TCL_OK;
VARIANT vCmd;
VariantInit(&vCmd);
@@ -389,7 +388,7 @@ Async(
if (obj->interp) {
Tcl_Obj *scriptPtr = Tcl_NewUnicodeObj(vCmd.bstrVal,
(int)SysStringLen(vCmd.bstrVal));
- result = TkWinSend_QueueCommand(obj->interp, scriptPtr);
+ TkWinSend_QueueCommand(obj->interp, scriptPtr);
}
}