[01/11] Missing initialisation of source local variable.

Message ID 20200610115940.26035-2-gprocida@google.com
State Committed
Headers
Series Add incomplete enum support. |

Commit Message

Giuliano Procida June 10, 2020, 11:59 a.m. UTC
  This will be fixed by maennich, one way or another.

Signed-off-by: Giuliano Procida <gprocida@google.com>
---
 src/abg-dwarf-reader.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc
index 77af0441..1218f8c7 100644
--- a/src/abg-dwarf-reader.cc
+++ b/src/abg-dwarf-reader.cc
@@ -3190,7 +3190,7 @@  public:
 		    size_t where,
 		    bool die_as_type) const
   {
-    die_source source;
+    die_source source = NO_DEBUG_INFO_DIE_SOURCE;
     ABG_ASSERT(get_die_source(die, source));
 
     offset_offset_map_type &canonical_dies =