Fix code execution path warnings

Signed-off-by: Marc Delisle <marc@infomarc.info>