Please send the entire code, because the code from the first post + modifications, compiles fine. ( That's for the error )
Warnings are something a plugin can compile and work with, however they indicate something might be wrong with the code, or not intended. In your case your code is not indented properly on lines 431 and 437, which is completely harmless, but you should fix that and indent your code to achieve readability.