gdb/regformats: remove unused regformats/reg-*.dat
[deliverable/binutils-gdb.git] / binutils / addr2line.c
index 4b43aec6b72b8f05ff4c6d8803fc403b72df50ef..846720fc81886dae7896c7aed38baeb49293c560 100644 (file)
@@ -314,8 +314,7 @@ translate_addresses (bfd *abfd, asection *section)
                   else
                     printf ("\n");
 
-                  if (alloc != NULL)
-                    free (alloc);
+                 free (alloc);
                 }
 
               if (base_names && filename != NULL)
@@ -410,11 +409,8 @@ process_file (const char *file_name, const char *section_name,
 
   translate_addresses (abfd, section);
 
-  if (syms != NULL)
-    {
-      free (syms);
-      syms = NULL;
-    }
+  free (syms);
+  syms = NULL;
 
   bfd_close (abfd);
 
This page took 0.024521 seconds and 4 git commands to generate.