englebass pushed a commit to branch master.

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

commit e891ac7c16f02f844e546320549811129d76040d
Author: Sebastian Dransfeld <s...@tango.flipp.net>
Date:   Sat Dec 7 22:13:37 2013 +0100

    Remove assignment to unused variable
    
    p isn't used after this, so no need to assign it.
    
    Fixes CID 1039757
---
 src/bin/e_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index 5ffdace..9cd6921 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -1221,7 +1221,7 @@ _e_main_parse_arguments(int argc, char **argv)
           }
         else
           {
-             if (!(p = strrchr(p, '.')))
+             if (!strrchr(p, '.'))
                {
                   snprintf(buff, sizeof(buff), "%s.0", s);
                   e_util_env_set("DISPLAY", buff);

-- 


Reply via email to