this was exposed by "make check", counter had no tests and it was failing.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@37957
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
EAPI Eina_Accessor *eina_inlist_accessor_new(const Eina_Inlist *in_list);
#define EINA_INLIST_FOREACH(list, l) for (l = (void*)list; l; l = (void*)(l->__in_list.next))
-#define EINA_INLIST_REVERSE_FOREACH(list, l) for (l = (void*)(list->last); l; l = (void*)(l->__in_list.prev))
+#define EINA_INLIST_REVERSE_FOREACH(list, l) for (l = (list ? (void*)(list->last) : NULL); l; l = (void*)(l->__in_list.prev))
/** @} */