You are right. I was thinking about the general fail-safety of my programs. Not letting me compile saved me from overlooking a (return) value more than once.
That way you would be catching a lot more code issues then just unused imports, variables etc.