Hello.Please, take a look at this patch. There are several local variables, that obviously may be removed.
-- Dmitriy Olshevskiy