Fix bug 'Warning' undefined variable

Added as a normal variable and not a constant because iPrep's warning state never gets exposed as a final return value.