projects
/
platform
/
upstream
/
libabigail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae1cade
)
Fix abigail::ir::get_type_scope()
author
Dodji Seketeli
<dodji@redhat.com>
Mon, 31 Oct 2016 13:13:06 +0000
(14:13 +0100)
committer
Dodji Seketeli
<dodji@redhat.com>
Thu, 3 Nov 2016 14:12:20 +0000
(15:12 +0100)
It appears that abigail::ir::get_type_scope() was always returning nil
due to a thinko. Oops. This pach fixes that.
* src/abg-ir.cc (get_type_scope): Do not always return nil.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-ir.cc
patch
|
blob
|
history
diff --git
a/src/abg-ir.cc
b/src/abg-ir.cc
index 11a632bc8a9e5ff7cc78a76f93333c58e18ab4e3..8e7e1d197101afd9607664854894e7b8cf4dad2c 100644
(file)
--- a/
src/abg-ir.cc
+++ b/
src/abg-ir.cc
@@
-4937,7
+4937,7
@@
get_type_scope(type_base* t)
decl_base* d = get_type_declaration(t);
if (d)
- d->get_scope();
+
return
d->get_scope();
return 0;
}