summaryrefslogtreecommitdiff
path: root/dbus/dbus-sysdeps-util-win.c
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2021-11-22 08:43:37 +0100
committerRalf Habacker <ralf.habacker@freenet.de>2021-11-23 08:38:14 +0100
commit2334307fbd093ad75f23cff19d9e44a956cccf68 (patch)
tree3b83655f13c090963a3627f607231c84201ad9d0 /dbus/dbus-sysdeps-util-win.c
parent79df3d2811343eadcf2f95bacb372729fde1fddd (diff)
tools/dbus-run-session.c: use _dbus_win_set_error_from_last_error() on remaining locations
The previously used function _dbus_win_stderr_win_error() has been removed because it is no longer used.
Diffstat (limited to 'dbus/dbus-sysdeps-util-win.c')
-rw-r--r--dbus/dbus-sysdeps-util-win.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/dbus/dbus-sysdeps-util-win.c b/dbus/dbus-sysdeps-util-win.c
index 6bb62aed..4e23b494 100644
--- a/dbus/dbus-sysdeps-util-win.c
+++ b/dbus/dbus-sysdeps-util-win.c
@@ -1674,16 +1674,3 @@ void
_dbus_daemon_report_stopping (void)
{
}
-
-void
-_dbus_win_stderr_win_error (const char *app,
- const char *message,
- unsigned long code)
-{
- DBusError error;
-
- dbus_error_init (&error);
- _dbus_win_set_error_from_win_error (&error, code);
- fprintf (stderr, "%s: %s: %s\n", app, message, error.message);
- dbus_error_free (&error);
-}