Issue #1890980 by amitgoyal, robinvdvleuten: Fixed Unnecessary extra output variable in theme_links.