Fixed #5867 (invalid debug warnung: Scope::checkVariable : varid0)