]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix typo.
authorKeith Seitz <keiths@redhat.com>
Fri, 14 Apr 2017 01:49:34 +0000 (18:49 -0700)
committerKeith Seitz <keiths@redhat.com>
Fri, 14 Apr 2017 01:49:34 +0000 (18:49 -0700)
gdb/compile/compile-c-support.c

index 41f7aecc64f8fab37e1c9788befc935fefc790fa..a29410506ca32b3885c1137dff1c26f109ea786d 100644 (file)
@@ -80,7 +80,7 @@ load_libcompile (const char *fe_libcc, const char *fe_context)
   /* gdb_dlopen will call error () on an error, so no need to check
      value.  */
   gdb_dlhandle_up handle = gdb_dlopen (fe_libcc);
-  func = (FUNCTYPE *) (gdb_dlsym (handle, fe_context));
+  func = (FUNCTYPE *) gdb_dlsym (handle, fe_context);
 
   if (func == NULL)
     error (_("could not find symbol %s in library %s"), fe_context, fe_libcc);