chiark / gitweb /
bus: drop redundant assignment
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 11 Mar 2015 15:29:18 +0000 (16:29 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Wed, 11 Mar 2015 15:36:41 +0000 (16:36 +0100)
This assignment is already done in the parent context, no need to do it
again.

src/libsystemd/sd-bus/bus-message.c

index 7eac069e980256c352108d9eb7419f5d1df7280d..199b13321bd3011eb37e2a5537f505dc61ea1e1e 100644 (file)
@@ -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;