Removed unfinished function temporary warning variable from finished function.