Permalink
Browse files

glib2: remove a warning

glib2/lib/glib-mkenums.rb:32: warning: assigned but unused variable - ret
  • Loading branch information...
1 parent 9090b98 commit 91f81acb47391e53abb34a5ac5ccd8ec9f0978b1 @kou kou committed Mar 28, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 glib2/lib/glib-mkenums.rb
@@ -3,7 +3,7 @@
#
# C language enum description generation library like as glib-mkenums tool.
#
-# Copyright(C) 2006-2008 Ruby-GNOME2 Project.
+# Copyright(C) 2006-2013 Ruby-GNOME2 Project.
#
# This program is licenced under the same license of Ruby-GNOME2.
#
@@ -29,8 +29,6 @@ def initialize(name, const_lines, g_type_prefix, options={})
end
def parse_const_lines(const_lines)
- ret = ""
-
if @options[:force_flags] or /<</ =~ const_lines
@type = "flags"
@Type = "Flags"

0 comments on commit 91f81ac

Please sign in to comment.