From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <3qu3qYQgKCkcpy0xlrmjpxxpun.lxvurkjkrpjru1x30ln5j0n.x0p@flex--gprocida.bounces.google.com> Received: from mail-ej1-x649.google.com (mail-ej1-x649.google.com [IPv6:2a00:1450:4864:20::649]) by sourceware.org (Postfix) with ESMTPS id 84E8D3857818 for ; Fri, 21 Jan 2022 17:30:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 84E8D3857818 Received: by mail-ej1-x649.google.com with SMTP id q19-20020a1709064c9300b006b39291ff3eso331765eju.5 for ; Fri, 21 Jan 2022 09:30:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=jh5igGfglf3GZ/OiWUv89OgTEHf+EPF+mxoHdb1maTI=; b=N/DknIcC3/LfnQtCCiWKdIoQGCaIBCsWEdBmPWV1cAnOfeIZDarN5cZBNwILSU09w2 WyATA9s3wuzMyZlXCSmzG9TwabxtHUxySUbiq3qJ/JTikU9UxZ1rTO4cyQEtYGBN2p34 6MbN1LMmU6l3TYElIhn57GzYujBVcK84yMntdQk+AjRs356tk5NbdpDL3F9o91ZOptmB +YvuCeNqqCiVQzGFusZrf0gYGoq8gxTlluVG4XCo9sA8zXcUvQEjTAFGeZBCtahjXWHE pbvbiKffLH2zIkYod5EfgJabM1tELHjNEU94tAmtOOpHp+d/DEr2P9j2glcfhNCNZ7cT zoyw== X-Gm-Message-State: AOAM530rH0/mROkzxx8oSV0UxkE7jOmykd5yDywNw9dhPwBB/lKe3ZVx WNA2rR4on5nh+YXjU1ZMzNUuREeB43Gq+mHHqrXucKEcy4aZQ2/X/d6TCzJ+VaSoJtlJUHZ8YMv g2Wi+NoR7w2UUeqqMirSdTjq/QdLTOrBWeF+iixuII26HycrDDEhHI7dGvPCTjEiB7oUu2Bc= X-Google-Smtp-Source: ABdhPJwZJT7qPpp1En+QJwFA31yZ0Z5eFrsz+4Mj3csJukPXDWNo7cJBc7TtfQSoo3wSdLZCzzN5FfiU+Af06w== X-Received: from tef.lon.corp.google.com ([2a00:79e0:d:210:5386:4792:3248:8d5d]) (user=gprocida job=sendgmr) by 2002:a05:6402:b33:: with SMTP id bo19mr5128730edb.70.1642786218366; Fri, 21 Jan 2022 09:30:18 -0800 (PST) Date: Fri, 21 Jan 2022 17:30:03 +0000 In-Reply-To: <20220121173005.3196387-1-gprocida@google.com> Message-Id: <20220121173005.3196387-3-gprocida@google.com> Mime-Version: 1.0 References: <20220121173005.3196387-1-gprocida@google.com> X-Mailer: git-send-email 2.34.1.703.g22d0c6ccf7-goog Subject: [PATCH 2/4] XML writer: drop write_elf_symbols_table variable emitted_syms From: Giuliano Procida To: libabigail@sourceware.org Cc: dodji@seketeli.org, kernel-team@android.com, gprocida@google.com, maennich@google.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-21.6 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2022 17:30:20 -0000 This was introduced in commit e2d45017 and was unused then. * src/abg-writer.cc (write_elf_symbols_table): Drop unused local variable emitted_syms. Reviewed-by: Matthias Maennich Signed-off-by: Giuliano Procida --- src/abg-writer.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/abg-writer.cc b/src/abg-writer.cc index 525f6682..53adca24 100644 --- a/src/abg-writer.cc +++ b/src/abg-writer.cc @@ -3158,7 +3158,6 @@ write_elf_symbols_table(const elf_symbols& syms, if (syms.empty()) return false; - unordered_map emitted_syms; for (elf_symbols::const_iterator it = syms.begin(); it != syms.end(); ++it) write_elf_symbol(*it, ctxt, indent); -- 2.34.1.703.g22d0c6ccf7-goog