diff options
author | Colin Walters <walters@verbum.org> | 2017-03-29 10:24:35 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-03-30 13:14:43 +0000 |
commit | ee626c2654b877f5ae6771933330c381efa7e802 (patch) | |
tree | ef75e0e8e1a7d81013163097043b3362b69102b3 /src/libotutil/ot-unix-utils.c | |
parent | 5f45ab0bb19d0482506797dc3daf739cd74f11a7 (diff) | |
download | ostree-ee626c2654b877f5ae6771933330c381efa7e802.tar.gz |
libutil: Delete some unused error handling APIs
The first one is better as `err`, the second might as well just call `err` too.
Closes: #767
Approved by: jlebon
Diffstat (limited to 'src/libotutil/ot-unix-utils.c')
-rw-r--r-- | src/libotutil/ot-unix-utils.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libotutil/ot-unix-utils.c b/src/libotutil/ot-unix-utils.c index 4f659a27..46dd346e 100644 --- a/src/libotutil/ot-unix-utils.c +++ b/src/libotutil/ot-unix-utils.c @@ -121,17 +121,3 @@ ot_util_path_split_validate (const char *path, out: return ret; } - -void -ot_util_fatal_literal (const char *msg) -{ - g_printerr ("%s\n", msg); - exit (EXIT_FAILURE); -} - -void -ot_util_fatal_gerror (GError *error) -{ - g_assert (error != NULL); - ot_util_fatal_literal (error->message); -} |