diff options
| author | 2020-05-30 19:14:39 -0700 | |
|---|---|---|
| committer | 2020-06-03 19:57:18 +0200 | |
| commit | f5fb0b4cf87b50c86531a7f0e98fa0637134c925 (patch) | |
| tree | 1513a7f3dfa163bb58fcc67c2b72ecacb74d7be1 /src/bplist.c | |
| parent | e2a030a763cc8c296ae6a8edbc44e16195dae8df (diff) | |
| download | libplist-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.c | 2 |
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) | |||
| 941 | for (ch = node_first_child(node); ch; ch = node_next_sibling(ch)) { | 941 | for (ch = node_first_child(node); ch; ch = node_next_sibling(ch)) { |
| 942 | serialize_plist(ch, data); | 942 | serialize_plist(ch, data); |
| 943 | } | 943 | } |
| 944 | |||
| 945 | return; | ||
| 946 | } | 944 | } |
| 947 | 945 | ||
| 948 | #define Log2(x) (x == 8 ? 3 : (x == 4 ? 2 : (x == 2 ? 1 : 0))) | 946 | #define Log2(x) (x == 8 ? 3 : (x == 4 ? 2 : (x == 2 ? 1 : 0))) |
