mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-30 05:42:05 +00:00
Fix status checking in abidw
Now that the status is a bit field, one needs to check the OK bit in the status for successful operation state. Oops. * tools/abidw.cc (main): Fix successful status checking. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
6be1218195
commit
f091ff1ac2
@ -179,7 +179,7 @@ main(int argc, char* argv[])
|
|||||||
abigail::dwarf_reader::status status =
|
abigail::dwarf_reader::status status =
|
||||||
abigail::dwarf_reader::has_alt_debug_info(ctxt,
|
abigail::dwarf_reader::has_alt_debug_info(ctxt,
|
||||||
has_alt_di, alt_di_path);
|
has_alt_di, alt_di_path);
|
||||||
if (status == abigail::dwarf_reader::STATUS_OK)
|
if (status & abigail::dwarf_reader::STATUS_OK)
|
||||||
{
|
{
|
||||||
if (alt_di_path.empty())
|
if (alt_di_path.empty())
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user