Fixed warnings when compiled with -Wpedantic under GCC
Removed extra semi-colon (oops)