Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : apps/elicit
Dir : e17/apps/elicit/src
Modified Files:
shots.c swatches.c themes.c
Log Message:
fixed various warnings
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/shots.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- shots.c 14 Aug 2004 16:29:02 -0000 1.8
+++ shots.c 26 Dec 2004 22:12:51 -0000 1.9
@@ -29,6 +29,8 @@
ecore_idle_enterer_add(elicit_shots_scroll_idler, el);
}
+
+ return 1;
}
void
@@ -104,7 +106,7 @@
if (cleanup)
{
- for(i; i < old_num; i++)
+ for(; i < old_num; i++)
{
snprintf(buf, PATH_MAX, "/shots/%d/name", i);
e_db_data_del(db, buf);
@@ -127,7 +129,6 @@
void
elicit_shots_load(Elicit *el)
{
- Evas_List *l;
E_DB_File *db;
int num, ok;
int i;
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/swatches.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- swatches.c 14 Aug 2004 16:29:02 -0000 1.8
+++ swatches.c 26 Dec 2004 22:12:51 -0000 1.9
@@ -29,6 +29,8 @@
ecore_idle_enterer_add(elicit_swatches_scroll_idler, el);
}
+
+ return 1;
}
void
@@ -118,11 +120,9 @@
void
elicit_swatches_load(Elicit *el)
{
- Evas_List *l;
E_DB_File *db;
int num, ok;
int i;
- int r, g, b;
char buf[PATH_MAX];
char *theme;
@@ -136,7 +136,6 @@
for (i = 0; i < num; i++)
{
Elicit_Swatch *sw;
- int iw = 0, ih = 0;
Evas_Coord mw, mh;
sw = calloc(1, sizeof(Elicit_Swatch));
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/elicit/src/themes.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- themes.c 14 Aug 2004 16:29:02 -0000 1.3
+++ themes.c 26 Dec 2004 22:12:51 -0000 1.4
@@ -44,6 +44,8 @@
}
ecore_idle_enterer_add(elicit_themes_scroll_idler, el);
+
+ return 1;
}
void
@@ -150,7 +152,7 @@
continue;
}
dp = opendir((const char *) dir);
- while (ent = readdir(dp))
+ while ((ent = readdir(dp)))
{
if (ent->d_name[0] == '.') continue;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs