devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=475a246ea97a4ecf25d6a15811e342eccaff6892

commit 475a246ea97a4ecf25d6a15811e342eccaff6892
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Jun 25 09:45:28 2015 -0400

    wl-desktop-shell: Remove useless return at end of function
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/wl_desktop_shell/e_mod_main.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/modules/wl_desktop_shell/e_mod_main.c 
b/src/modules/wl_desktop_shell/e_mod_main.c
index b080cd6..e262f8f 100644
--- a/src/modules/wl_desktop_shell/e_mod_main.c
+++ b/src/modules/wl_desktop_shell/e_mod_main.c
@@ -589,13 +589,12 @@ static void
 _e_xdg_surface_state_add(struct wl_resource *resource, struct wl_array 
*states, uint32_t state)
 {
   uint32_t *s;
-  s = wl_array_add(states, sizeof(*s));
+
+   s = wl_array_add(states, sizeof(*s));
   if (s)
     *s = state;
   else
     wl_resource_post_no_memory(resource);
-
-  return;
 }
 
 static void

-- 


Reply via email to