raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=66f71d2ebc7344bf67c1be8f72d795bb5c352b77

commit 66f71d2ebc7344bf67c1be8f72d795bb5c352b77
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sat Jul 29 11:36:33 2017 +0900

    embryo_cc - remove pointless test for null byte and space
    
    space wins. the nul byte test is pointless. not a bug but pointless code
    
    found by PVS studio
---
 src/bin/embryo/embryo_cc_sc2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/embryo/embryo_cc_sc2.c b/src/bin/embryo/embryo_cc_sc2.c
index fddc102cf0..c416ad1d15 100644
--- a/src/bin/embryo/embryo_cc_sc2.c
+++ b/src/bin/embryo/embryo_cc_sc2.c
@@ -941,7 +941,7 @@ command(void)
                error(8);       /* invalid/non-constant expression */
             fline = (int)val;
 
-            while (*lptr == ' ' && *lptr != '\0')
+            while (*lptr == ' ')
                lptr++;                 /* skip whitespace */
             if (*lptr == '"')
                {

-- 


Reply via email to