From 52fb301a45f9405d18ad3ff6d28e8e3abec545d4 Mon Sep 17 00:00:00 2001 From: theraven Date: Wed, 6 Jul 2011 16:40:46 +0000 Subject: [PATCH] Move return statement into the conditional, where it belongs. --- arc.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arc.m b/arc.m index ed8bb99..af92da4 100644 --- a/arc.m +++ b/arc.m @@ -301,8 +301,8 @@ id objc_retainAutoreleasedReturnValue(id obj) if (obj == tls->returnRetained) { tls->returnRetained = NULL; + return obj; } - return obj; } return objc_retain(obj); }