diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-08-25 07:14:42 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-08-25 07:14:42 +0200 |
commit | f0685dd1b1fa35dcb149505aaff34a597d7b5889 (patch) | |
tree | 31e750707783ed4a0beeed3aa6b032be019391a1 /src/plugins/ruby/weechat-ruby.c | |
parent | 0884c9b33c26197f066082b2681e7611aebc0b6a (diff) | |
download | weechat-f0685dd1b1fa35dcb149505aaff34a597d7b5889.zip |
ruby: remove unused variable "ruby_hide_errors"
Diffstat (limited to 'src/plugins/ruby/weechat-ruby.c')
-rw-r--r-- | src/plugins/ruby/weechat-ruby.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/ruby/weechat-ruby.c b/src/plugins/ruby/weechat-ruby.c index d47a380b1..d1e73b6c7 100644 --- a/src/plugins/ruby/weechat-ruby.c +++ b/src/plugins/ruby/weechat-ruby.c @@ -72,7 +72,6 @@ struct t_config_option *ruby_config_look_check_license = NULL; struct t_config_option *ruby_config_look_eval_keep_context = NULL; int ruby_quiet = 0; -int ruby_hide_errors = 0; struct t_plugin_script *ruby_script_eval = NULL; int ruby_eval_mode = 0; @@ -434,9 +433,6 @@ weechat_ruby_output (VALUE self, VALUE str) /* make C compiler happy */ (void) self; - if (ruby_hide_errors) - return Qnil; - msg = strdup (StringValuePtr (str)); m = msg; |