summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/cache.c2
-rw-r--r--lib/object.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache.c b/lib/cache.c
index 425f6071..4bb10d19 100644
--- a/lib/cache.c
+++ b/lib/cache.c
@@ -422,7 +422,7 @@ void nl_cache_free(struct nl_cache *cache)
void nl_cache_put(struct nl_cache *cache)
{
- return nl_cache_free(cache);
+ nl_cache_free(cache);
}
/** @} */
diff --git a/lib/object.c b/lib/object.c
index 7ba74652..4e14554e 100644
--- a/lib/object.c
+++ b/lib/object.c
@@ -301,7 +301,7 @@ void nl_object_dump_buf(struct nl_object *obj, char *buf, size_t len)
.dp_buflen = len,
};
- return nl_object_dump(obj, &dp);
+ nl_object_dump(obj, &dp);
}
/**