forked from enlightenment/efl
evas: Fix a warning
CC evas_cserve_tool.o evas_cserve_main.c: In function ‘message’: evas_cserve_main.c:993:14: warning: braces around scalar initializer evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’) evas_cserve_main.c:993:14: warning: excess elements in scalar initializer evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’) evas_cserve_main.c:993:14: warning: excess elements in scalar initializer evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’) evas_cserve_main.c:993:14: warning: excess elements in scalar initializer evas_cserve_main.c:993:14: warning: (near initialization for ‘lopt.degree’) Signed-off-by: Mike McCormack <mikem@ring3k.org> SVN revision: 64310
This commit is contained in:
parent
a948759e52
commit
c9dcb7dc5f
|
@ -990,9 +990,10 @@ message(void *fdata __UNUSED__, Server *s __UNUSED__, Client *c, int opcode, int
|
||||||
Op_Load *rep;
|
Op_Load *rep;
|
||||||
Op_Load_Reply msg;
|
Op_Load_Reply msg;
|
||||||
Img *img;
|
Img *img;
|
||||||
RGBA_Image_Loadopts lopt = {0, 0.0, 0, 0, {0, 0, 0, 0}, 0};
|
RGBA_Image_Loadopts lopt;
|
||||||
char *file = NULL, *key = NULL;
|
char *file = NULL, *key = NULL;
|
||||||
|
|
||||||
|
memset(&lopt, 0, sizeof lopt);
|
||||||
DBG("OP_LOAD %i", c->pid);
|
DBG("OP_LOAD %i", c->pid);
|
||||||
rep = (Op_Load *)tdata;
|
rep = (Op_Load *)tdata;
|
||||||
file = (char*) (data + sizeof(Op_Load));
|
file = (char*) (data + sizeof(Op_Load));
|
||||||
|
|
Loading…
Reference in New Issue