diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-11-18 21:55:10 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-11-18 21:55:10 +0300 |
commit | 5c6904b515d98647fdb35a4292cb6c9d8219fe2c (patch) | |
tree | 6f0f524ed6f61763afca1a21d730910c6d3b36e5 /winsup/cygwin/fhandler_tty.cc | |
parent | 15702488003b23492500963af4ba79022f7dab9f (diff) |
* fhandler_tty.cc (fhandler_tty_slave::fchown): Initialize mode to 0.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 4ef3457e8..23a07d0b4 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -1306,7 +1306,7 @@ fhandler_tty_slave::fchown (__uid32_t uid, __gid32_t gid) { int ret = -1; bool to_close = false; - mode_t mode; + mode_t mode = 0; __uid32_t o_uid; __gid32_t o_gid; security_descriptor sd; |