summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-21 13:11:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-01-21 13:11:15 (GMT)
commitaf6bc3e8603fff12286d897a75a073587da56911 (patch)
treeb1e31ad71cba1235656ee8a2a9cd7c54a5c0c4a2 /macosx
parent2e57446fb4328d096e1c2174b206489a11676cee (diff)
downloadtcl-af6bc3e8603fff12286d897a75a073587da56911.zip
tcl-af6bc3e8603fff12286d897a75a073587da56911.tar.gz
tcl-af6bc3e8603fff12286d897a75a073587da56911.tar.bz2
Fix compiler warnings (discovered on latest clang/gcc6), suggested by Gustaf Neumann. All harmless, no change of functionality.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tclMacOSXBundle.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/macosx/tclMacOSXBundle.c b/macosx/tclMacOSXBundle.c
index c4fc82d..b2a88e5 100644
--- a/macosx/tclMacOSXBundle.c
+++ b/macosx/tclMacOSXBundle.c
@@ -237,9 +237,7 @@ Tcl_MacOSXOpenVersionedBundleResources(
}
if (openresourcemap) {
- short refNum;
-
- refNum = openresourcemap(bundleRef);
+ openresourcemap(bundleRef);
}
}