anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

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