Move return statement into the conditional, where it belongs.

main
theraven 15 years ago
parent e8583bf4ae
commit 52fb301a45

@ -301,8 +301,8 @@ id objc_retainAutoreleasedReturnValue(id obj)
if (obj == tls->returnRetained) if (obj == tls->returnRetained)
{ {
tls->returnRetained = NULL; tls->returnRetained = NULL;
return obj;
} }
return obj;
} }
return objc_retain(obj); return objc_retain(obj);
} }

Loading…
Cancel
Save