projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcc82e3
)
Remove assignment to unused variable
author
Sebastian Dransfeld
<sd@tango.flipp.net>
Sat, 7 Dec 2013 21:13:37 +0000
(22:13 +0100)
committer
Sebastian 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
patch
|
blob
|
history
diff --git
a/src/bin/e_main.c
b/src/bin/e_main.c
index
5ffdace
..
9cd6921
100644
(file)
--- 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);