summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/extn
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2013-03-25 09:40:36 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2013-03-25 09:40:36 +0000
commita9c543c73ff0ffdeece7e3e948ee1e35c0b1d555 (patch)
treefc40195c64dcfe9db5ffc45ba4c1291965620dab /src/modules/ecore_evas/engines/extn
parent940543d972d77cb30aad2594a50a06fc68f52c8c (diff)
evas_extn: Rename data variable to avoid local shadowing.
Jenkins as well as klocwork complained here as data is already used for the parameter of the function and we shadow it here locally. Does not look like it would really harm us here but better avoid it.
Diffstat (limited to 'src/modules/ecore_evas/engines/extn')
-rw-r--r--src/modules/ecore_evas/engines/extn/ecore_evas_extn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c
index e509ff0fe4..be47ed110f 100644
--- a/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c
+++ b/src/modules/ecore_evas/engines/extn/ecore_evas_extn.c
@@ -983,7 +983,7 @@ _ipc_server_data(void *data, int type EINA_UNUSED, void *event)
983 } 983 }
984 if ((n >= 0) && (n < NBUF)) 984 if ((n >= 0) && (n < NBUF))
985 { 985 {
986 void *data; 986 void *data2;
987 int w = 0, h = 0, pn; 987 int w = 0, h = 0, pn;
988 988
989 pn = extn->cur_b; 989 pn = extn->cur_b;
@@ -998,12 +998,12 @@ _ipc_server_data(void *data, int type EINA_UNUSED, void *event)
998 } 998 }
999 if (extn->b[n].buf) 999 if (extn->b[n].buf)
1000 { 1000 {
1001 data = _extnbuf_data_get(extn->b[n].buf, &w, &h, NULL); 1001 data2 = _extnbuf_data_get(extn->b[n].buf, &w, &h, NULL);
1002 bdata->pixels = data; 1002 bdata->pixels = data2;
1003 evas_object_image_alpha_set(bdata->image, 1003 evas_object_image_alpha_set(bdata->image,
1004 extn->b[n].alpha); 1004 extn->b[n].alpha);
1005 evas_object_image_size_set(bdata->image, w, h); 1005 evas_object_image_size_set(bdata->image, w, h);
1006 evas_object_image_data_set(bdata->image, data); 1006 evas_object_image_data_set(bdata->image, data2);
1007 } 1007 }
1008 else 1008 else
1009 { 1009 {