Fixed warning (control reaching end of non void function) in OCPlatform.cpp