aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/psych/parser.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 353668c9e2..6b8abc5129 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 27 08:47:38 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
+
+ * ext/psych/parser.c: remove unused variable.
+
Thu Oct 27 08:38:41 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
* ext/openssl/extconf.rb: add -Wall flag by default when compiler is
diff --git a/ext/psych/parser.c b/ext/psych/parser.c
index 1a6e281f43..987fd7ad40 100644
--- a/ext/psych/parser.c
+++ b/ext/psych/parser.c
@@ -61,7 +61,6 @@ static VALUE allocate(VALUE klass)
static VALUE make_exception(yaml_parser_t * parser, VALUE path)
{
- VALUE exception;
size_t line, column;
line = parser->context_mark.line + 1;