Any "return;" statements in tail position are redundant and should be removed:
if (foo) { g_bar = 4; return; } else { g_bar = 8; return; }
should be:
if (foo) { g_bar = 4; } else { g_bar = 8; }
Log in to post a comment.