qcow2: Use abort() instead of assert(false)
Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
29d72431ef
commit
164e0f89cc
@ -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++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user