haml/haml — pull request #545 by mattwildig (2012-05-26 21:20:16+00:00)
Title: Explicitly initialize ivar to nil to avoid warning

This is the same warning as d82ce857d53a60e9f4cfb5509832df7ba1ff932b, but silencing it in a different way.

Set `@index` to nil in Engine#initialize before encoding check.

Currently, if `check_haml_encoding` raises an exception, a warning is
issued in the rescue block as `@index` isn't yet initialized.