From 8b9972db83c774ff8b9fc0bb95dc06e5658aae98 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Wed, 11 Mar 2015 16:29:18 +0100 Subject: bus: drop redundant assignment This assignment is already done in the parent context, no need to do it again. --- src/libsystemd/sd-bus/bus-message.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libsystemd/sd-bus') diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c index 7eac069e98..199b13321b 100644 --- a/src/libsystemd/sd-bus/bus-message.c +++ b/src/libsystemd/sd-bus/bus-message.c @@ -3489,8 +3489,6 @@ _public_ int sd_bus_message_read_basic(sd_bus_message *m, char type, void *p) { return r; } else { - rindex = m->rindex; - if (IN_SET(type, SD_BUS_TYPE_STRING, SD_BUS_TYPE_OBJECT_PATH)) { uint32_t l; bool ok; -- cgit v1.2.3-54-g00ecf