shell.c cleaned up a bunch of -Werror errors