diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-05 16:10:16 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-05 16:10:16 +0000 |
commit | 2942657a566e8e5cd3b037ffe9cb961252be9fd5 (patch) | |
tree | e8c01c77a81db1878a4d87f40b684665bf6a88ed /process.c | |
parent | 99acd378d82d60d446ef12ccdaa332ef29df3243 (diff) | |
download | ruby-2942657a566e8e5cd3b037ffe9cb961252be9fd5.tar.gz |
Unwrap a useless block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -3352,10 +3352,8 @@ has_privilege(void) return 1; } #else - { - ruid = getuid(); - euid = geteuid(); - } + ruid = getuid(); + euid = geteuid(); #endif if (euid == 0 || euid != ruid) @@ -3372,10 +3370,8 @@ has_privilege(void) return 1; } #else - { - rgid = getgid(); - egid = getegid(); - } + rgid = getgid(); + egid = getegid(); #endif if (egid == 0 || egid != rgid) |