From 9f60cdd76b6044931cc2f2b6f2fbec3deb67a425 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 7 Jun 2020 21:48:10 -0700 Subject: Improve code readability by not using else after return [clang-tidy] Found with readability-else-after-return Signed-off-by: Rosen Penev --- test/plist_cmp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/plist_cmp.c') 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[]) printf("PList parsing failed\n"); return 3; } - else - printf("PList parsing succeeded\n"); + printf("PList parsing succeeded\n"); res = compare_plist(root_node1, root_node2); - plist_free(root_node1); plist_free(root_node2); -- cgit v1.1-32-gdbae