From: Giuliano Procida <gprocida@google.com>
To: libabigail@sourceware.org
Cc: dodji@seketeli.org, kernel-team@android.com, gprocida@google.com
Subject: [PATCH] abg-ir.cc: Remove duplicated line of code
Date: Fri, 17 Jul 2020 15:29:18 +0100 [thread overview]
Message-ID: <20200717142918.5826-1-gprocida@google.com> (raw)
The commit
dbef379a Support incomplete enums in core and diff code.
added a duplicated line of code in error. This commit removes it.
* src/abg-ir.cc (decl_base::set_definition_of_declaration):
Remove duplicated assignment statement.
Signed-off-by: Giuliano Procida <gprocida@google.com>
---
src/abg-ir.cc | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/abg-ir.cc b/src/abg-ir.cc
index 757605f8..f91c42df 100644
--- a/src/abg-ir.cc
+++ b/src/abg-ir.cc
@@ -12301,7 +12301,6 @@ decl_base::set_definition_of_declaration(const decl_base_sptr& d)
{
ABG_ASSERT(get_is_declaration_only());
priv_->definition_of_declaration_ = d;
- priv_->definition_of_declaration_ = d;
if (type_base *t = is_type(this))
if (type_base_sptr canonical_type = is_type(d)->get_canonical_type())
t->priv_->canonical_type = canonical_type;
--
2.28.0.rc0.105.gf9edc3c819-goog
next reply other threads:[~2020-07-17 14:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-17 14:29 Giuliano Procida [this message]
2020-07-28 16:53 ` Dodji Seketeli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200717142918.5826-1-gprocida@google.com \
--to=gprocida@google.com \
--cc=dodji@seketeli.org \
--cc=kernel-team@android.com \
--cc=libabigail@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).