Update main.c

Some compilers may complain if there is a missing return statement. Note: I have NOT tested this code, so my change is mostly a guess