* security.cc (get_file_attribute): Avoid compiler warning.

This commit is contained in:
Corinna Vinschen 2007-03-02 19:54:20 +00:00
parent 538b71077d
commit 3532877889
2 changed files with 4 additions and 1 deletions

View File

@ -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> 2007-03-01 Christopher Faylor <me@cgf.cx>
* fork.cc (fork): Reset child to true after fork since it may have been * fork.cc (fork): Reset child to true after fork since it may have been

View File

@ -1524,7 +1524,6 @@ int
get_file_attribute (int use_ntsec, HANDLE handle, const char *file, get_file_attribute (int use_ntsec, HANDLE handle, const char *file,
mode_t *attribute, __uid32_t *uidret, __gid32_t *gidret) mode_t *attribute, __uid32_t *uidret, __gid32_t *gidret)
{ {
int res;
syscall_printf ("file: %s", file); syscall_printf ("file: %s", file);
if (use_ntsec && allow_ntsec) if (use_ntsec && allow_ntsec)