elfutils-uninitialized.diff
authorAnas Nashif <anas.nashif@intel.com>
Thu, 8 Nov 2012 02:10:56 +0000 (18:10 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Sat, 6 Jul 2013 14:57:51 +0000 (10:57 -0400)
libdwfl/linux-kernel-modules.c

index bafe53c..80ab1db 100644 (file)
@@ -601,8 +601,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);