ports/lang/tclX/files/patch-generic_tclXfcntl.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

12 lines
313 B
C

--- generic/tclXfcntl.c.orig 2014-07-30 16:45:58.000000000 +0200
+++ generic/tclXfcntl.c 2014-07-30 16:46:21.000000000 +0200
@@ -162,7 +162,8 @@
int mode;
int attrib;
{
- int value, optValue;
+ int value = 0;
+ int optValue;
switch (attrib) {
case ATTR_RDONLY: