[前][次][番号順一覧][スレッド一覧]

ruby-changes:72382

From: Nobuyoshi <ko1@a...>
Date: Fri, 1 Jul 2022 09:37:18 +0900 (JST)
Subject: [ruby-changes:72382] 33100797c4 (master): Remove redundant parentheses [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=33100797c4

From 33100797c48203528056489f30a350d1c8dbe188 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 1 Jul 2022 09:37:00 +0900
Subject: Remove redundant parentheses [ci skip]

---
 ruby.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ruby.c b/ruby.c
index a5f1e311f4..ab475ee476 100644
--- a/ruby.c
+++ b/ruby.c
@@ -1785,7 +1785,7 @@ process_options(int argc, char **argv, ruby_cmdline_options_t *opt) https://github.com/ruby/ruby/blob/trunk/ruby.c#L1785
     argc -= i;
     argv += i;
 
-    if ((FEATURE_SET_P(opt->features, rubyopt)) && (s = getenv("RUBYOPT"))) {
+    if (FEATURE_SET_P(opt->features, rubyopt) && (s = getenv("RUBYOPT"))) {
 	VALUE src_enc_name = opt->src.enc.name;
 	VALUE ext_enc_name = opt->ext.enc.name;
 	VALUE int_enc_name = opt->intern.enc.name;
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]