Missing "break;"

Found by Cppcheck

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>
Consider performing initialization in initialization list

Found by Cppcheck

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>