fix warnings

patch by Albin Tonnerre


SVN revision: 45430
This commit is contained in:
Vincent Torri 2010-01-22 06:51:27 +00:00
parent 6304974ff4
commit 8d9d9ea3a3
6 changed files with 6 additions and 8 deletions

View File

@ -1364,7 +1364,7 @@ message(void *fdata, Server *s, Client *c, int opcode, int size, unsigned char *
}
it.dead = img->dead;
it.useless = img->useless;
DBG("... memcpy %p %p %i ",
DBG("... memcpy %p %p %zu ",
itt, &it, sizeof(Op_Getinfo_Item));
memcpy(itt, &it, sizeof(Op_Getinfo_Item));
DBG("... memcpy done %p", img);

View File

@ -1093,7 +1093,6 @@ evas_event_feed_multi_move(Evas *e,
if (e->pointer.mouse_grabbed > 0)
{
/* go thru old list of in objects */
Eina_List *outs = NULL;
Eina_List *l, *copy;
Evas_Event_Multi_Move ev;
Evas_Object *obj;

View File

@ -114,7 +114,7 @@ Eina_Bool
evas_map_coords_get(const Evas_Map *m, Evas_Coord x, Evas_Coord y,
Evas_Coord *mx, Evas_Coord *my, int grab)
{
int order[4], i, j, edges, edge[4][2], douv;
int i, j, edges, edge[4][2], douv;
Evas_Coord xe[2];
double u[2] = { 0.0, 0.0 };
double v[2] = { 0.0, 0.0 };
@ -157,8 +157,8 @@ evas_map_coords_get(const Evas_Map *m, Evas_Coord x, Evas_Coord y,
if ((mx) || (my)) douv = 1;
for (i = 0; i < (edges - 1); i+= 2)
{
Evas_Coord yp, yd, x0, x1;
Evas_Coord yp, yd;
j = i + 1;
yd = m->points[edge[i][1]].y - m->points[edge[i][0]].y;
if (yd > 0)

View File

@ -496,7 +496,6 @@ EAPI Eina_Bool
evas_object_smart_callbacks_descriptions_set(Evas_Object *obj, const Evas_Smart_Cb_Description *descriptions)
{
const Evas_Smart_Cb_Description *d;
const Evas_Smart_Cb_Description_Array *sa;
Evas_Object_Smart *o;
unsigned int i, count;

View File

@ -9,7 +9,7 @@
{
int x, w, ww;
FPc u, v, ud, vd, dv;
DATA32 *d, *s, *so[4], val1, val2;
DATA32 *d, *s;
#ifdef COLMUL
FPc cv, cd, cc; // col
DATA32 c1, c2; // col

View File

@ -10,7 +10,7 @@ FUNC_NAME(RGBA_Image *src, RGBA_Image *dst,
{
int i;
int c, cx, cy, cw, ch;
int ytop, ybottom, ystart, yend, y, sw, sh, shp, swp, direct;
int ytop, ybottom, ystart, yend, y, sw, shp, swp, direct;
Line *spans;
DATA32 *buf = NULL, *sp;
RGBA_Gfx_Func func = NULL;