Fix "auxiliary" typo
[deliverable/binutils-gdb.git] / gdb / solib-darwin.c
index d3060604badf47b55d00d77536d6df021db148c2..65a5b9afca0258c7b6577a2bdb5e4204cd5678f3 100644 (file)
@@ -452,10 +452,7 @@ darwin_get_dyld_bfd ()
       gdb_bfd_ref_ptr sub
        (gdb_bfd_mach_o_fat_extract (dyld_bfd.get (), bfd_object,
                                     gdbarch_bfd_arch_info (target_gdbarch ())));
-      if (sub != NULL)
-       dyld_bfd = sub;
-      else
-       dyld_bfd.release ();
+      dyld_bfd = sub;
     }
   return dyld_bfd;
 }
@@ -656,7 +653,7 @@ darwin_lookup_lib_symbol (struct objfile *objfile,
                          const char *name,
                          const domain_enum domain)
 {
-  return (struct block_symbol) {NULL, NULL};
+  return {};
 }
 
 static gdb_bfd_ref_ptr
This page took 0.023556 seconds and 4 git commands to generate.