englebass pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5820112ba39ecd93a2ef7e321e3584b2a7ff8fc6

commit 5820112ba39ecd93a2ef7e321e3584b2a7ff8fc6
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 b767ee4..b77342a 100644
--- a/src/bin/e_actions.c
+++ b/src/bin/e_actions.c
@@ -829,7 +829,7 @@ ACT_FN_GO(window_border_cycle, __UNUSED__)
                {
                   const char *bdname = params;
 
-                  while (bdname && (space = strchr(bdname, ' ')))
+                  while (space = strchr(bdname, ' '))
                     {
                        if (strncmp(bd->bordername, bdname, space - bdname) == 
0)
                          {

-- 


Reply via email to