From de495bb5f4232d42c35d09e7142010d169a4b817 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Tue, 28 Jun 2016 11:32:46 +0200 Subject: [PATCH] tests: elm: remove wrong const for Eina_List MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We are assigning somethign new to this list so no chance for const here. tests/elementary/elm_test_config.c: In function ‘_eina_list_string_has’: tests/elementary/elm_test_config.c:174:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] EINA_LIST_FOREACH(list, l, s) --- src/tests/elementary/elm_test_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/elementary/elm_test_config.c b/src/tests/elementary/elm_test_config.c index a30860e..2032617 100644 --- a/src/tests/elementary/elm_test_config.c +++ b/src/tests/elementary/elm_test_config.c @@ -166,7 +166,7 @@ START_TEST (elm_config_win) END_TEST static inline Eina_Bool -_eina_list_string_has(const Eina_List *list, const char *str) +_eina_list_string_has(Eina_List *list, const char *str) { const char *s; Eina_List *l; -- 2.7.4