Rename local variable plus return a bit earlier on edge condition.

Minor code cleanup - *varc* is a really unclear variable name plus there's no point in doing stuff and then check something unrelated and return.