summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-20 15:00:00 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-07-20 15:00:00 +0000
commit55b0c9fb6caf4e578982ac7354a943d2d6cc4289 (patch)
tree601da6e59db258ca9c5e31758dc8a4282c234da8 /io.c
parentb41ccc4a9c4d4900e79642bb98ad87b2ba63e766 (diff)
* io.c (rb_update_max_fd): remove parentheses. they are not in macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index ab40e72c30..b8d2e5bca5 100644
--- a/io.c
+++ b/io.c
@@ -154,7 +154,7 @@ static int max_file_descriptor = NOFILE;
void
rb_update_max_fd(int fd)
{
- if (max_file_descriptor < (fd)) max_file_descriptor = (fd);
+ if (max_file_descriptor < fd) max_file_descriptor = fd;
}
#define argf_of(obj) (*(struct argf *)DATA_PTR(obj))