Remove assignment to unused variable
authorSebastian Dransfeld <sd@tango.flipp.net>
Sat, 7 Dec 2013 21:13:37 +0000 (22:13 +0100)
committerSebastian Dransfeld <sd@tango.flipp.net>
Sat, 7 Dec 2013 21:13:37 +0000 (22:13 +0100)
p isn't used after this, so no need to assign it.

Fixes CID 1039757

src/bin/e_main.c

index 5ffdace..9cd6921 100644 (file)
@@ -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);