valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0168-bus-message-remove-duplicate-assignment.patch

ff6046
From fcaaf6f3640c6cac73ba2b3807cde9fd94e0789b Mon Sep 17 00:00:00 2001
ff6046
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
ff6046
Date: Thu, 2 Aug 2018 14:25:31 +0200
ff6046
Subject: [PATCH] bus-message: remove duplicate assignment
ff6046
ff6046
(cherry picked from commit 4d82a8d5052fce8c1ea51f8bdec3476fb8cc4747)
ff6046
ff6046
Resolves: #1696224
ff6046
---
ff6046
 src/libsystemd/sd-bus/bus-message.c | 1 -
ff6046
 1 file changed, 1 deletion(-)
ff6046
ff6046
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c
ff6046
index d0af34f632..c8f7937102 100644
ff6046
--- a/src/libsystemd/sd-bus/bus-message.c
ff6046
+++ b/src/libsystemd/sd-bus/bus-message.c
ff6046
@@ -4305,7 +4305,6 @@ _public_ int sd_bus_message_rewind(sd_bus_message *m, int complete) {
ff6046
         } else {
ff6046
                 c = message_get_last_container(m);
ff6046
 
ff6046
-                c->offset_index = 0;
ff6046
                 c->index = 0;
ff6046
                 m->rindex = c->begin;
ff6046
         }