Update decode.cc

Added return statements for every function.