Skip to content
  • Philippe Waroquiers's avatar
    Fix 'obj' may be used uninitialized warning in symtab.c:matching_obj_sections. · 9d7c67bf
    Philippe Waroquiers authored
    Fix warning:
    
    gdb/symtab.c: In function ‘int matching_obj_sections(obj_section*, obj_section*)’:
    gdb/symtab.c:1024:12: warning: ‘obj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       if (obj->separate_debug_objfile_backlink != NULL
    
    2019-01-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
    
    	* symtab.c (matching_obj_sections): Initialize obj,
    	declare it closer to its usage.
    9d7c67bf
To find the state of this project's repository at the time of any of these versions, check out the tags.