summaryrefslogtreecommitdiffstats
path: root/src/bplist.c
diff options
context:
space:
mode:
authorGravatar Rosen Penev2020-05-30 19:14:39 -0700
committerGravatar Nikias Bassen2020-06-03 19:57:18 +0200
commitf5fb0b4cf87b50c86531a7f0e98fa0637134c925 (patch)
tree1513a7f3dfa163bb58fcc67c2b72ecacb74d7be1 /src/bplist.c
parente2a030a763cc8c296ae6a8edbc44e16195dae8df (diff)
downloadlibplist-f5fb0b4cf87b50c86531a7f0e98fa0637134c925.tar.gz
libplist-f5fb0b4cf87b50c86531a7f0e98fa0637134c925.tar.bz2
Remove pointless return in void functions
[clang-tidy] Found with readability-redundant-control-flow Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/bplist.c')
-rw-r--r--src/bplist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bplist.c b/src/bplist.c
index 14db755..24326b7 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -941,8 +941,6 @@ static void serialize_plist(node_t* node, void* data)
for (ch = node_first_child(node); ch; ch = node_next_sibling(ch)) {
serialize_plist(ch, data);
}
-
- return;
}
#define Log2(x) (x == 8 ? 3 : (x == 4 ? 2 : (x == 2 ? 1 : 0)))