Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kvlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvlist.h b/kvlist.h
index 339cc1d..a4e1b1d 100644
--- a/kvlist.h
+++ b/kvlist.h
@@ -37,7 +37,7 @@ struct kvlist_node {
#define kvlist_for_each(kv, name, value) \
for (value = (void *) __avl_list_to_kv((kv)->avl.list_head.next)->data, \
- name = (const char *) __ptr_to_kv(value)->avl.key; \
+ name = (const char *) __ptr_to_kv(value)->avl.key, (void) name; \
&__ptr_to_kv(value)->avl.list != &(kv)->avl.list_head; \
value = (void *) (__avl_list_to_kv(__ptr_to_kv(value)->avl.list.next))->data, \
name = (const char *) __ptr_to_kv(value)->avl.key)