diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-03-02 22:54:20 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-03-02 22:54:20 +0300 |
commit | 35328778895f786e1db88faba245c96a377e0b38 (patch) | |
tree | 1e25b64e3d89b6c3a831de0f0d279c5d5fa91c8c /winsup | |
parent | 538b71077d1f936bbe1700b1db94c700fcff344a (diff) |
* security.cc (get_file_attribute): Avoid compiler warning.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/security.cc | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 64c15988e..12a48d1c4 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2007-03-02 Corinna Vinschen <corinna@vinschen.de> + + * security.cc (get_file_attribute): Avoid compiler warning. + 2007-03-01 Christopher Faylor <me@cgf.cx> * fork.cc (fork): Reset child to true after fork since it may have been diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index 8a468cb24..504be9c0b 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -1524,7 +1524,6 @@ int get_file_attribute (int use_ntsec, HANDLE handle, const char *file, mode_t *attribute, __uid32_t *uidret, __gid32_t *gidret) { - int res; syscall_printf ("file: %s", file); if (use_ntsec && allow_ntsec) |