# HG changeset patch # User Bruno Haible # Date 1315183104 -7200 # Node ID 8c7936106a14884a952d3fc9db8468a83fc44c86 # Parent 8339ac6126c589921a7eb60b6900dc76b540d5c8 acl: Remove unused code in last commit. diff --git a/lib/set-mode-acl.c b/lib/set-mode-acl.c --- a/lib/set-mode-acl.c +++ b/lib/set-mode-acl.c @@ -335,14 +335,6 @@ { /* Running on Solaris 10 (newer version) or Solaris 11. The details here were found through "/bin/ls -lvd somefiles". */ - struct stat statbuf; - int dir; - - if ((desc != -1 ? fstat (desc, &statbuf) : stat (name, &statbuf)) >= 0) - dir = S_ISDIR (statbuf.st_mode); - else - dir = 0; - entries[0].a_type = NEW_ACE_ACCESS_DENIED_ACE_TYPE; entries[0].a_flags = NEW_ACE_OWNER; entries[0].a_who = 0; /* irrelevant */