Two nitpicks:

1. Put "else if" on the same line as the preceding "}"

2. Use a period instead of comma to separate the warning message.