From: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com>
To: libabigail@sourceware.org
Subject: [PATCH 3/3] ctf-reader: Use ABG_ASSERT instead of assert
Date: Wed, 17 Nov 2021 21:01:16 -0600 [thread overview]
Message-ID: <20211118030116.564632-4-guillermo.e.martinez@oracle.com> (raw)
In-Reply-To: <20211118030116.564632-1-guillermo.e.martinez@oracle.com>
* tools/abidiff.cc (main): Use ABG_ASSERT.
* tools/abilint.cc: Likewise.
---
tools/abidiff.cc | 4 ++--
tools/abilint.cc | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/abidiff.cc b/tools/abidiff.cc
index 30959616..7f766d16 100644
--- a/tools/abidiff.cc
+++ b/tools/abidiff.cc
@@ -1173,7 +1173,7 @@ main(int argc, char* argv[])
= abigail::ctf_reader::create_read_context(opts.file1,
env.get());
- assert (ctxt);
+ ABG_ASSERT(ctxt);
c1 = abigail::ctf_reader::read_corpus(ctxt.get(),
c1_status);
}
@@ -1257,7 +1257,7 @@ main(int argc, char* argv[])
= abigail::ctf_reader::create_read_context(opts.file2,
env.get());
- assert (ctxt);
+ ABG_ASSERT(ctxt);
c2 = abigail::ctf_reader::read_corpus (ctxt.get(),
c2_status);
}
diff --git a/tools/abilint.cc b/tools/abilint.cc
index 2e9bae49..e3e8b079 100644
--- a/tools/abilint.cc
+++ b/tools/abilint.cc
@@ -374,7 +374,7 @@ main(int argc, char* argv[])
= abigail::ctf_reader::create_read_context(opts.file_path,
env.get());
- assert (ctxt);
+ ABG_ASSERT(ctxt);
corp = abigail::ctf_reader::read_corpus (ctxt.get(), s);
}
else
--
2.33.0
next prev parent reply other threads:[~2021-11-18 3:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-18 3:01 [PATCH 0/3] Some improvements in ctf-reader Guillermo E. Martinez
2021-11-18 3:01 ` [PATCH 1/3] ctf-reader: Use argument by reference reading the context Guillermo E. Martinez
2021-11-18 3:01 ` [PATCH 2/3] ctf-reader: Use smart pointers in create_read_context Guillermo E. Martinez
2021-11-18 3:01 ` Guillermo E. Martinez [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-18 2:56 [PATCH 0/3] Some improvements in ctf-reader Guillermo E. Martinez
2021-11-18 23:23 ` [PATCH v2 " Guillermo E. Martinez
2021-11-18 23:23 ` [PATCH 3/3] ctf-reader: Use ABG_ASSERT instead of assert Guillermo E. Martinez
2021-11-23 14:51 ` 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=20211118030116.564632-4-guillermo.e.martinez@oracle.com \
--to=guillermo.e.martinez@oracle.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).