libxc: tidy up loop construct in write_compressed
authorMatthew Daley <mattjd@gmail.com>
Wed, 30 Oct 2013 07:51:41 +0000 (20:51 +1300)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 31 Oct 2013 21:23:49 +0000 (21:23 +0000)
commitfcaacad1a472f3023a7fd9cea4132c3f6533c913
treee595abc0aa700e2674e1f3011b31c8b92ffa447d
parentf46fa80ec47cae30f91d51ec34450b3577d529b9
libxc: tidy up loop construct in write_compressed

...otherwise the return 0 at the bottom is dead code.

Coverity-ID: 1055189
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_domain_save.c