aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-05-19 18:57:38 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-05-21 11:57:58 +0200
commitd2e064a73ee7e5af244ff7b6406ac2344bbaa231 (patch)
tree770c7e1d9a1b6769d9debba33142d78e15de4cff /util
parent3894c78764e1e6d8ef82c7c097749d10cf8c3981 (diff)
error: error_is_set() is finally unused; remove
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'util')
-rw-r--r--util/error.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/util/error.c b/util/error.c
index 66245ccd1f..2ace0d8dd9 100644
--- a/util/error.c
+++ b/util/error.c
@@ -142,11 +142,6 @@ Error *error_copy(const Error *err)
return err_new;
}
-bool error_is_set(Error **errp)
-{
- return (errp && *errp);
-}
-
ErrorClass error_get_class(const Error *err)
{
return err->err_class;