Update scanner.c

now it should have only have warnings.