1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 09:21:26 +03:00

shut up gcc complaining about freeing a const variable

This commit is contained in:
Kay Sievers 2013-09-12 23:37:23 +02:00
parent 7964042405
commit 6e869e18c0

View File

@ -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,