From: yoz Date: Thu, 9 Aug 2012 08:57:35 +0000 (+0000) Subject: edje: don't compile if we have a group without a name X-Git-Tag: submit/trunk/20120815.180907~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=001e6f38f48b03fb727fe1776479af4f58832447;p=profile%2Fivi%2Fedje.git edje: don't compile if we have a group without a name git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@75035 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/edje_cc_out.c b/src/bin/edje_cc_out.c index 1c22637..5da6292 100644 --- a/src/bin/edje_cc_out.c +++ b/src/bin/edje_cc_out.c @@ -2052,6 +2052,11 @@ data_process_lookups(void) unsigned int id = 0; unsigned int i; + if (!pc->part) + { + ERR("A collection without a name was detected, that's not allowed."); + exit(-1); + } find = eina_hash_find(edje_file->collection, pc->part); if (find && find->id == pc->id) continue ;