Automatic date update in version.in
[deliverable/binutils-gdb.git] / bfd / libbfd.c
index cb7c3b5aba0872bf7666da5db5b054b1bdc76fc5..efe10d22e8903ff257eb02b081bb2f4c927bc7ad 100644 (file)
@@ -245,7 +245,7 @@ _bfd_nocore_core_file_pid (bfd *ignore_abfd ATTRIBUTE_UNUSED)
   return 0;
 }
 
-const bfd_target *
+bfd_cleanup
 _bfd_dummy_target (bfd *ignore_abfd ATTRIBUTE_UNUSED)
 {
   bfd_set_error (bfd_error_wrong_format);
@@ -312,7 +312,7 @@ bfd_realloc_or_free (void *ptr, bfd_size_type size)
 {
   void *ret = bfd_realloc (ptr, size);
 
-  if (ret == NULL && ptr != NULL)
+  if (ret == NULL)
     free (ptr);
 
   return ret;
This page took 0.034921 seconds and 4 git commands to generate.