warnings about @data #21

Closed
ghost opened this Issue Feb 9, 2010 · 2 comments

Projects

None yet

1 participant

@ghost
ghost commented Feb 9, 2010

Probably a good idea to initialize the @data variable. I get a lot of this:

  /usr/lib/ruby/gems/1.8/gems/tilt-0.5/lib/tilt.rb:100: warning: instance variable @data not initialized

when I turn warnings on.

@rtomayko
Owner
rtomayko commented Feb 9, 2010

Ahh, thanks.

@rtomayko
Owner
rtomayko commented Feb 9, 2010

initialize @data to nil to fix warnings, closed by 65c2df5

@alexch alexch pushed a commit to alexch/tilt that referenced this issue Sep 28, 2011
@rtomayko initialize @data to nil to fix warnings, closes #21 65c2df5
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment