summaryrefslogtreecommitdiffstats
path: root/win/tclWinFCmd.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-11-19 20:34:46 (GMT)
committernijtmans <nijtmans>2010-11-19 20:34:46 (GMT)
commit0142fdb760e82fc6fb38add2a16f9b5c8f110664 (patch)
treeb3e54eb437f32b635f7ebeace3b119ae57563405 /win/tclWinFCmd.c
parentf467ab59161c0d4f3ff72bdcbc456d2a12af3878 (diff)
downloadtcl-0142fdb760e82fc6fb38add2a16f9b5c8f110664.zip
tcl-0142fdb760e82fc6fb38add2a16f9b5c8f110664.tar.gz
tcl-0142fdb760e82fc6fb38add2a16f9b5c8f110664.tar.bz2
fix gcc warnings: unused variable 'registration'
Diffstat (limited to 'win/tclWinFCmd.c')
-rw-r--r--win/tclWinFCmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinFCmd.c b/win/tclWinFCmd.c
index aa80297..deb022e 100644
--- a/win/tclWinFCmd.c
+++ b/win/tclWinFCmd.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinFCmd.c,v 1.52.8.1 2010/09/08 15:42:13 dgp Exp $
+ * RCS: @(#) $Id: tclWinFCmd.c,v 1.52.8.2 2010/11/19 20:34:47 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -177,7 +177,7 @@ DoRenameFile(
CONST TCHAR *nativeDst) /* New pathname for file or directory
* (native). */
{
-#ifdef HAVE_NO_SEH
+#if defined(HAVE_NO_SEH) && !defined(_WIN64)
EXCEPTION_REGISTRATION registration;
#endif
DWORD srcAttr, dstAttr;
@@ -569,7 +569,7 @@ DoCopyFile(
CONST TCHAR *nativeSrc, /* Pathname of file to be copied (native). */
CONST TCHAR *nativeDst) /* Pathname of file to copy to (native). */
{
-#ifdef HAVE_NO_SEH
+#if defined(HAVE_NO_SEH) && !defined(_WIN64)
EXCEPTION_REGISTRATION registration;
#endif
int retval = -1;