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)
commit093b0618b6e6bef06c090aab243ad716995ba4b5 (patch)
treeb1e31ad71cba1235656ee8a2a9cd7c54a5c0c4a2 /macosx
parent003b3000368a5f8752fcee1444cf4ec1cee6fe62 (diff)
downloadtcl-093b0618b6e6bef06c090aab243ad716995ba4b5.zip
tcl-093b0618b6e6bef06c090aab243ad716995ba4b5.tar.gz
tcl-093b0618b6e6bef06c090aab243ad716995ba4b5.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);
}
}