aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_fileman_mime.c
diff options
context:
space:
mode:
authorstffrdhrn <stffrdhrn>2006-03-02 12:03:48 +0000
committerstffrdhrn <stffrdhrn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2006-03-02 12:03:48 +0000
commit218717c8dcc9e5befd4a9674013a1e41dc1fea56 (patch)
tree88822299bda828c85a6f461c186daeacb3fae4c7 /src/bin/e_fileman_mime.c
parentWhen options arent available disable them, don't just hide them. This is need... (diff)
downloadenlightenment-218717c8dcc9e5befd4a9674013a1e41dc1fea56.tar.gz
Clean up compile warnings:
* char * -> const char * for stringshare strings * char * -> const char * where needed in functions * remove unused vars in some places SVN revision: 20912
Diffstat (limited to 'src/bin/e_fileman_mime.c')
-rw-r--r--src/bin/e_fileman_mime.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/e_fileman_mime.c b/src/bin/e_fileman_mime.c
index 0fb7faa8c..ff4606df0 100644
--- a/src/bin/e_fileman_mime.c
+++ b/src/bin/e_fileman_mime.c
@@ -103,7 +103,7 @@ e_fm_mime_init(void)
{
E_Fm_Mime_Entry *root;
E_Fm_Mime_Entry *entry;
- E_Fm_Mime_Entry *l1,*l2,*l3;
+ E_Fm_Mime_Entry *l1,*l2;
E_Fm_Mime_Action *action;
if(init_count)
@@ -402,7 +402,7 @@ e_fm_mime_action_call(E_Fm_Smart_Data *sd, E_Fm_Mime_Action *action)
return 1;
}
-EAPI int
+EAPI void
e_fm_mime_action_default_call(E_Fm_Smart_Data *sd)
{
E_Fm_Mime_Entry *mime;
@@ -507,7 +507,6 @@ _e_fm_mime_string_tokenizer(Evas_List *files, E_Fm_File *hover, char *istr)
if(*c == 'f')
{
int j = 2;
- char *f = NULL;
astr = calloc(PATH_MAX,sizeof(char));
for(l = files; l; l = l->next)