removed unused local variable

removed a unused variable

@samsonasik pointed out - fix now in a separated branch