mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
shut up gcc complaining about freeing a const variable
This commit is contained in:
parent
7964042405
commit
6e869e18c0
@ -1494,7 +1494,8 @@ static DBusHandlerResult wait_filter(DBusConnection *connection, DBusMessage *me
|
||||
|
||||
} else if (dbus_message_is_signal(message, "org.freedesktop.systemd1.Manager", "JobRemoved")) {
|
||||
uint32_t id;
|
||||
const char *path, *result, *unit, *r;
|
||||
const char *path, *result, *unit;
|
||||
char *r;
|
||||
|
||||
if (dbus_message_get_args(message, &error,
|
||||
DBUS_TYPE_UINT32, &id,
|
||||
|
Loading…
Reference in New Issue
Block a user