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 + + * security.cc (get_file_attribute): Avoid compiler warning. + 2007-03-01 Christopher Faylor * 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)