diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-09 13:50:24 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-09 13:50:24 (GMT) |
commit | 900ca0d4015ef35172971ffe2cbc49f8205f42e3 (patch) | |
tree | 7f8f8bb868b76f2eeb1b872ac6b0478e5f0a7d36 /win | |
parent | 39dd1134f379cf247b40c74d68ea6bec62edb33e (diff) | |
download | tk-900ca0d4015ef35172971ffe2cbc49f8205f42e3.zip tk-900ca0d4015ef35172971ffe2cbc49f8205f42e3.tar.gz tk-900ca0d4015ef35172971ffe2cbc49f8205f42e3.tar.bz2 |
unnecessary Tcl_DStringInit(), since Tcl_WinUtfToTChar() already does that.
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinSend.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/win/tkWinSend.c b/win/tkWinSend.c index c999c0b..fca8561 100644 --- a/win/tkWinSend.c +++ b/win/tkWinSend.c @@ -619,7 +619,6 @@ BuildMoniker( LPMONIKER pmkItem = NULL; Tcl_DString dString; - Tcl_DStringInit(&dString); Tcl_WinUtfToTChar(name, -1, &dString); hr = CreateFileMoniker((LPOLESTR)Tcl_DStringValue(&dString), &pmkItem); Tcl_DStringFree(&dString); |