From 35328778895f786e1db88faba245c96a377e0b38 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 2 Mar 2007 19:54:20 +0000 Subject: [PATCH] * security.cc (get_file_attribute): Avoid compiler warning. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/security.cc | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) 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)