LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File elfutils-uninitialized.diff of Package elfutils (Project Ports:ARM:Base:build:cross)

---
 libdwfl/linux-kernel-modules.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/libdwfl/linux-kernel-modules.c
+++ b/libdwfl/linux-kernel-modules.c
@@ -608,8 +608,8 @@ check_module_notes (Dwfl_Module *mod)
 int
 dwfl_linux_kernel_report_kernel (Dwfl *dwfl)
 {
-  Dwarf_Addr start;
-  Dwarf_Addr end;
+  Dwarf_Addr start = 0;
+  Dwarf_Addr end = 0;
   inline Dwfl_Module *report (void)
     {
       return INTUSE(dwfl_report_module) (dwfl, KERNEL_MODNAME, start, end);