WarningFix

control may reach end of non-void function