diff options
author | Peter Crosthwaite | 2014-01-02 03:49:52 +0100 |
---|---|---|
committer | Luiz Capitulino | 2014-01-06 21:02:30 +0100 |
commit | 594278718323ca7bffaab0fb7fc6c82fa2c1cd5f (patch) | |
tree | c352e338315f47316bdac4f6e0993e3be40cf92d /qobject | |
parent | qemu-option: Remove qemu_opts_create_nofail (diff) | |
download | qemu-594278718323ca7bffaab0fb7fc6c82fa2c1cd5f.tar.gz qemu-594278718323ca7bffaab0fb7fc6c82fa2c1cd5f.tar.xz qemu-594278718323ca7bffaab0fb7fc6c82fa2c1cd5f.zip |
qerror: Remove assert_no_error()
This is no longer needed, and is obsoleted by error_abort. Remove.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qobject')
-rw-r--r-- | qobject/qerror.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/qobject/qerror.c b/qobject/qerror.c index fc8331aa67..e3608e2402 100644 --- a/qobject/qerror.c +++ b/qobject/qerror.c @@ -121,14 +121,6 @@ void qerror_report_err(Error *err) } } -void assert_no_error(Error *err) -{ - if (err) { - qerror_report_err(err); - abort(); - } -} - /** * qobject_to_qerror(): Convert a QObject into a QError */ |