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