freebsd-ports/lang/tclX/files/patch-generic_tclXchmod.c
Pietro Cerutti 44ed15c688 - Chase compiler warnings
PR:		192370
Submitted by:	gahr
Approved by:	maintainer (timeout > 2 months)
2014-10-07 12:45:02 +00:00

11 lines
343 B
C

--- generic/tclXchmod.c.orig 2014-07-30 17:45:54.000000000 +0200
+++ generic/tclXchmod.c 2014-07-30 17:48:09.000000000 +0200
@@ -353,6 +353,7 @@
modeInfo.absMode = modeBits;
modeInfo.symMode = NULL;
} else {
+ modeInfo.absMode = 0; // not used, but keeps compilers happy
modeInfo.symMode = modeString;
}