From 8ecb0c76c3a92790bb452f99910556c6c6a838d2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 22 Jan 2011 12:30:21 +0100 Subject: copy: remove else-after-goto and adjust indentation * src/copy.c (copy_reg): Remove useless else-after-goto. --- src/copy.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/copy.c b/src/copy.c index 270009bbe..71da00d74 100644 --- a/src/copy.c +++ b/src/copy.c @@ -879,13 +879,11 @@ copy_reg (char const *src_name, char const *dst_name, src_open_sb.st_size, make_holes, src_name, dst_name, &require_normal_copy)) goto preserve_metadata; - else + + if (! require_normal_copy) { - if (! require_normal_copy) - { - return_val = false; - goto close_src_and_dst_desc; - } + return_val = false; + goto close_src_and_dst_desc; } } -- cgit v1.2.3-70-g09d2