Fix for Scrutinizer (undeclared variable on some code path)