removed unnecessary semicolon, raised a warning when using with -Wall

If you use -Wall (with some exceptions) in your project , the semicolon would raise a warning. Since it isn't needed anyway just remove it.