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
1 changed files with 2 additions and 1 deletions

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,