diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-06-08 21:53:07 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-09 10:53:12 +0100 |
commit | 9160eec4fbf12643d8d5fa13465066822b2fed92 (patch) | |
tree | f74b87ec94332de280273fe02d124a577a8d3795 /daemon/base64.c | |
parent | bfc02f78f36d88543f8435e450e28c986b667a94 (diff) | |
download | libguestfs-9160eec4fbf12643d8d5fa13465066822b2fed92.tar.gz libguestfs-9160eec4fbf12643d8d5fa13465066822b2fed92.tar.xz libguestfs-9160eec4fbf12643d8d5fa13465066822b2fed92.zip |
Coverity: Remove unreachable code.
Diffstat (limited to 'daemon/base64.c')
-rw-r--r-- | daemon/base64.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/base64.c b/daemon/base64.c index f55e1f51..8aca5b71 100644 --- a/daemon/base64.c +++ b/daemon/base64.c @@ -86,8 +86,6 @@ do_base64_in (const char *file) } if (pclose (fp) != 0) { - if (r == -1) /* if r == 0, file transfer ended already */ - cancel_receive (); reply_with_error ("base64 subcommand failed on file: %s", file); return -1; } |