Remove compile warning messages and apply coding rule