From bd57bc1edb6d8131a920bcc4f12d91457e2ca2ed Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Sep 2018 21:02:42 +0200 Subject: Fix GCC8 warnings --- lilv/lilv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lilv') diff --git a/lilv/lilv.h b/lilv/lilv.h index 64897a1..f709cf1 100644 --- a/lilv/lilv.h +++ b/lilv/lilv.h @@ -352,7 +352,7 @@ lilv_node_as_bool(const LilvNode* value); @endcode */ #define LILV_FOREACH(colltype, iter, collection) \ - for (LilvIter* (iter) = lilv_ ## colltype ## _begin(collection); \ + for (LilvIter* iter = lilv_ ## colltype ## _begin(collection); \ !lilv_ ## colltype ## _is_end(collection, iter); \ (iter) = lilv_ ## colltype ## _next(collection, iter)) -- cgit v1.2.1