eina_module: Drop ridiculous ERR messages from module_list_load/unload
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 26 Jan 2018 20:29:03 +0000 (14:29 -0600)
committerJiyoun Park <jy0703.park@samsung.com>
Tue, 3 Apr 2018 13:12:55 +0000 (22:12 +0900)
commitad52bd1491a3aabbe5414e718864de4f78aa60d7
treea511ac1801a1925709556d52b736f256325a2832
parentde351c19bd9c5fec6c7f062938b82dae9d107b76
eina_module: Drop ridiculous ERR messages from module_list_load/unload

The documentation for these functions claims that passing a NULL array
results in doing nothing - that should also include logging nothing.

EINA_SAFETY_ON_NULL_RETURN() logs an ERR message and should be reserved
for usage when NULL is not actually a valid state.

Additionally, it's entirely possible to turn off EINA_SAFETY_CHECKS, at
which point these functions would stop behaving as the documentation
says they do.  Not great.
src/lib/eina/eina_module.c