diff options
author | Jim Meyering <meyering@redhat.com> | 2011-01-22 12:30:21 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-01-30 20:44:11 +0100 |
commit | 8ecb0c76c3a92790bb452f99910556c6c6a838d2 (patch) | |
tree | e49f1bc0fc8e7b0ab079142152228c8231b9d0e4 /src | |
parent | 50040d07e1fca7cae7aee3827053efb71454e6f2 (diff) | |
download | coreutils-8ecb0c76c3a92790bb452f99910556c6c6a838d2.tar.xz |
copy: remove else-after-goto and adjust indentation
* src/copy.c (copy_reg): Remove useless else-after-goto.
Diffstat (limited to 'src')
-rw-r--r-- | src/copy.c | 10 |
1 files changed, 4 insertions, 6 deletions
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; } } |