This return is unreachable.

Perhaps the intention was to move the return after the case statement but as it is now, it's unreachable.

Perhaps @h-kataria @dclarizio @martinpovolny knows if there's a better way to fix this.