From: Max Reitz Date: Mon, 27 Jul 2015 15:51:34 +0000 (+0200) Subject: qcow2: Use abort() instead of assert(false) X-Git-Tag: TizenStudio_2.0_p2.4~27^2~6^2~8^2~333^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=164e0f89cc825bf2a83b20451643db333d2891a7;p=sdk%2Femulator%2Fqemu.git qcow2: Use abort() instead of assert(false) Signed-off-by: Max Reitz Reviewed-by: Eric Blake Reviewed-by: Stefan Hajnoczi Reviewed-by: Alberto Garcia Signed-off-by: Kevin Wolf --- diff --git a/block/qcow2.c b/block/qcow2.c index 01b20d9..381b4f7 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -2998,9 +2998,9 @@ static int qcow2_amend_options(BlockDriverState *bs, QemuOpts *opts, error_report("Cannot change refcount entry width"); return -ENOTSUP; } else { - /* if this assertion fails, this probably means a new option was + /* if this point is reached, this probably means a new option was * added without having it covered here */ - assert(false); + abort(); } desc++;