summaryrefslogtreecommitdiff
path: root/src/basic/ordered-set.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-01-25 20:14:58 +0100
committerLennart Poettering <lennart@poettering.net>2016-01-26 14:42:03 +0100
commitdce8364918220bde8f2b520f17931451da72ffcf (patch)
treeca23fe3fd39ada3b256dac4753d47fd1937b92d6 /src/basic/ordered-set.c
parent3df9bec57c3e2d96f7e2a25961585cfa609b61eb (diff)
networkctl: move strv_isempty() check into dump_list()
Previously, each invocation of dump_list() was prefixed with a call to strv_isempty() to suppress invocation of the function when the list is empty anyway. Move the check into the function itself, so that we can reduce the code a bit in size. (Also, prefix a couple of invocations we knowingly ignore return errors with a (void) cast).
Diffstat (limited to 'src/basic/ordered-set.c')
0 files changed, 0 insertions, 0 deletions