mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2024-11-23 18:19:50 +00:00
lib: Don't return expression in function returning void
This commit is contained in:
parent
de72910e6b
commit
f69755ae53
@ -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);
|
||||
}
|
||||
|
||||
/** @} */
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user