mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pipewire: module-rt: get rid of unused DBusError
Nothing sets it, so it can be removed.
This commit is contained in:
parent
e0ea0574f1
commit
91a9f816a7
1 changed files with 1 additions and 4 deletions
|
|
@ -419,12 +419,9 @@ static int pw_rtkit_make_realtime(struct impl *impl, pid_t thread, int priority)
|
||||||
dbus_uint64_t pid;
|
dbus_uint64_t pid;
|
||||||
dbus_uint64_t u64;
|
dbus_uint64_t u64;
|
||||||
dbus_uint32_t u32, serial;
|
dbus_uint32_t u32, serial;
|
||||||
DBusError error;
|
|
||||||
int ret;
|
int ret;
|
||||||
struct pw_rtkit_bus *connection = impl->rtkit_bus;
|
struct pw_rtkit_bus *connection = impl->rtkit_bus;
|
||||||
|
|
||||||
dbus_error_init(&error);
|
|
||||||
|
|
||||||
if (thread == 0)
|
if (thread == 0)
|
||||||
thread = _gettid();
|
thread = _gettid();
|
||||||
|
|
||||||
|
|
@ -448,7 +445,7 @@ static int pw_rtkit_make_realtime(struct impl *impl, pid_t thread, int priority)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dbus_connection_send(connection->bus, m, &serial)) {
|
if (!dbus_connection_send(connection->bus, m, &serial)) {
|
||||||
ret = translate_error(error.name);
|
ret = -EIO;
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue