summaryrefslogtreecommitdiff
path: root/ext/syslog
diff options
context:
space:
mode:
authormichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-16 07:38:40 (GMT)
committermichal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-16 07:38:40 (GMT)
commit4e13d36561868d78e9e5ff9b24aba67d418c67ed (patch)
tree07808bdd94888f12e0e1b1a6f52777f213d50b91 /ext/syslog
parent9df466b287471d386f962ea41cf49c40f2059c8b (diff)
-Wall cleanups (removed unused vars, no 'code has no effect' warnings)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syslog')
-rw-r--r--ext/syslog/syslog.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/syslog/syslog.c b/ext/syslog/syslog.c
index 3e86569..5ee2c6b 100644
--- a/ext/syslog/syslog.c
+++ b/ext/syslog/syslog.c
@@ -54,7 +54,6 @@ static VALUE mSyslog_close(VALUE self)
static VALUE mSyslog_open(int argc, VALUE *argv, VALUE self)
{
VALUE ident, opt, fac;
- int mask;
if (syslog_opened) {
rb_raise(rb_eRuntimeError, "syslog already open");