Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:
Remove unused variables.
hash callback func should return 1 if the whole hash is to be checked.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -3 -r1.246 -r1.247
--- e_apps.c    10 Dec 2006 09:27:33 -0000      1.246
+++ e_apps.c    14 Dec 2006 15:28:27 -0000      1.247
@@ -50,7 +50,6 @@
    double       begin, pass;
 };
 
-static Evas_Bool _e_apps_hash_cb_init      (Evas_Hash *hash, const char *key, 
void *data, void *fdata);
 static int       _e_apps_hash_idler_cb     (void *data);
 static void      _e_app_free               (E_App *a);
 static E_App     *_e_app_subapp_file_find  (E_App *a, const char *file);
@@ -199,8 +198,6 @@
 #if IDLE_ICONS
         if ((!a->idle_icon) && (a->icon_type == E_APP_ICON_UNKNOWN))
           {
-             int theme_match = 0;
-
              a->idle_icon = 1;
              _e_app_icon_type(a);
           }
@@ -1266,6 +1263,7 @@
        winner->ok = (*count);
      }
    free(count);
+   return 1;
 }
 #endif
 
@@ -1273,8 +1271,8 @@
 EAPI E_App *
 e_app_border_find(E_Border *bd)
 {
-   Evas_List *l, *l_match = NULL;
-   int ok, match = 0;
+   Evas_List *l;
+   int ok;
    E_App *a = NULL, *a_match = NULL, *clever_match = NULL;
    char *title;
    double begin, time, clever_time = 0.0;
@@ -1781,9 +1779,7 @@
 EAPI void
 e_app_fields_fill(E_App *a, const char *path)
 {
-   char *str, *v;
    const char *lang;
-   int size;
    
    /* get our current language */
    lang = e_intl_language_alias_get();
@@ -1892,7 +1888,7 @@
 e_app_fields_save(E_App *a)
 {
    char buf[PATH_MAX];
-   const char *lang, *ext = NULL;
+   const char *ext = NULL;
    int new_eap = 0;
 
    E_OBJECT_CHECK(a);
@@ -1982,7 +1978,6 @@
 _e_app_fields_save_others(E_App *a)
 {
    Evas_List *l;
-   char buf[PATH_MAX];
 
    for (l = a->references; l; l = l->next)
      {



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to