cedric pushed a commit to branch enlightenment-0.17.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5a4755ee1ed911cb981bde3e52fa921a526ea193

commit 5a4755ee1ed911cb981bde3e52fa921a526ea193
Author: Sebastian Dransfeld <s...@tango.flipp.net>
Date:   Tue Dec 10 20:19:46 2013 +0100

    e: remove un-needed NULL check.
    
    bdname = params, which is already checked
    
    CID 1039830, 1039831
---
 src/bin/e_actions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c
index b28b06c..fb8eacf 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -831,7 +831,7 @@ ACT_FN_GO(window_border_cycle, __UNUSED__)
                {
                   const char *bdname = params;
 
-                  while ((space = strchr(bdname, ' ')))
+                  while (space = strchr(bdname, ' '))
                     {
                        if (strncmp(bd->bordername, bdname, space - bdname) == 
0)
                          {

-- 


Reply via email to