diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-11-18 12:00:19 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-11-18 18:28:03 +0900 |
commit | 7a9b2039b7b82f081f2cab40a4fbbc8b01231ca4 (patch) | |
tree | a58f2121ea53262242acef64f046717158676946 /ruby.c | |
parent | 57cd4623cfb56d12eb308eaf5fb09612e4572c19 (diff) | |
download | ruby-7a9b2039b7b82f081f2cab40a4fbbc8b01231ca4.tar.gz |
delete unused codes
Suppress compiler warnings.
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1217,12 +1217,9 @@ proc_options(long argc, char **argv, ruby_cmdline_options_t *opt, int envopt) case 'T': { size_t numlen; - int v = 1; if (*++s) { - v = scan_oct(s, 2, &numlen); - if (numlen == 0) - v = 1; + scan_oct(s, 2, &numlen); s += numlen; } } |