Remove compilation warning adding a return value