summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-06-19 10:33:49 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-06-19 10:33:49 +0900
commit62e3c757777d7569f1b6a4d94a982346efcd3477 (patch)
tree11ed074ac08a23981b99ef335e778f94ddf0840e /src/lib/efreet
parentf7a14e945f5092522c920d56bbc0698dba4a826f (diff)
Efreet: Fix shadow warning
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c
index 29c89d60d3..d33c82903c 100644
--- a/src/lib/efreet/efreet_menu.c
+++ b/src/lib/efreet/efreet_menu.c
@@ -1587,11 +1587,11 @@ efreet_menu_handle_default_merge_dirs(Efreet_Menu_Internal *parent, Efreet_Xml *
1587 if (!p) 1587 if (!p)
1588 { 1588 {
1589 char *s; 1589 char *s;
1590 size_t len; 1590 size_t len2;
1591 1591
1592 len = strlen(parent->file.name) + 1; 1592 len2 = strlen(parent->file.name) + 1;
1593 p = alloca(len); 1593 p = alloca(len2);
1594 memcpy(p, parent->file.name, len); 1594 memcpy(p, parent->file.name, len2);
1595 s = strrchr(p, '.'); 1595 s = strrchr(p, '.');
1596 if (s) *s = '\0'; 1596 if (s) *s = '\0';
1597 } 1597 }