Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-09-14 18:27:56 +0400
committerChristopher Faylor <me@cgf.cx>2005-09-14 18:27:56 +0400
commit3aca3cb6362f429219a8af9b2d5f3d16f05be390 (patch)
treed5ece613088b9220a735cf038d789ec816d737a0 /winsup/cygwin/security.cc
parent18ea7328a710436298bb0415903258d6e047a623 (diff)
Remove some more unneeded 'return;'s throughout.
Diffstat (limited to 'winsup/cygwin/security.cc')
-rw-r--r--winsup/cygwin/security.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc
index 8f3ed7917..04eef3651 100644
--- a/winsup/cygwin/security.cc
+++ b/winsup/cygwin/security.cc
@@ -70,7 +70,6 @@ cygwin_set_impersonation_token (const HANDLE hToken)
{
debug_printf ("set_impersonation_token (%d)", hToken);
cygheap->user.external_token = hToken == INVALID_HANDLE_VALUE ? NO_IMPERSONATION : hToken;
- return;
}
void
@@ -1267,7 +1266,6 @@ get_attribute_from_acl (mode_t *attribute, PACL acl, PSID owner_sid,
| ((allow & S_IXUSR) ? S_IXGRP : 0));
}
*attribute |= allow;
- return;
}
static void
@@ -1326,7 +1324,6 @@ get_info_from_sd (PSECURITY_DESCRIPTOR psd, mode_t *attribute,
syscall_printf ("%sACL %x, uid %d, gid %d",
(!acl_exists || !acl)?"NO ":"", *attribute, uid, gid);
- return;
}
static void