diff options
| author | 2020-06-07 21:48:10 -0700 | |
|---|---|---|
| committer | 2020-11-24 01:06:31 +0100 | |
| commit | 9f60cdd76b6044931cc2f2b6f2fbec3deb67a425 (patch) | |
| tree | 66c1a3c42769535966367c3f6f10881da2673f33 /test/plist_cmp.c | |
| parent | 2899553df92cd4e10590da73ae7375e5b5517d45 (diff) | |
| download | libplist-9f60cdd76b6044931cc2f2b6f2fbec3deb67a425.tar.gz libplist-9f60cdd76b6044931cc2f2b6f2fbec3deb67a425.tar.bz2 | |
Improve code readability by not using else after return
[clang-tidy] Found with readability-else-after-return
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'test/plist_cmp.c')
| -rw-r--r-- | test/plist_cmp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/plist_cmp.c b/test/plist_cmp.c index a07452b..c854446 100644 --- a/test/plist_cmp.c +++ b/test/plist_cmp.c | |||
| @@ -139,12 +139,10 @@ int main(int argc, char *argv[]) | |||
| 139 | printf("PList parsing failed\n"); | 139 | printf("PList parsing failed\n"); |
| 140 | return 3; | 140 | return 3; |
| 141 | } | 141 | } |
| 142 | else | ||
| 143 | printf("PList parsing succeeded\n"); | ||
| 144 | 142 | ||
| 143 | printf("PList parsing succeeded\n"); | ||
| 145 | res = compare_plist(root_node1, root_node2); | 144 | res = compare_plist(root_node1, root_node2); |
| 146 | 145 | ||
| 147 | |||
| 148 | plist_free(root_node1); | 146 | plist_free(root_node1); |
| 149 | plist_free(root_node2); | 147 | plist_free(root_node2); |
| 150 | 148 | ||
