PR gas/14201
[deliverable/binutils-gdb.git] / gdb / value.c
index d49828913f90ccf85b09a1cb90d89731a950f91d..c64e55b2162cb245677a5a891544c5f812e0f097 100644 (file)
@@ -841,7 +841,6 @@ value_actual_type (struct value *value, int resolve_simple_types,
                   int *real_type_found)
 {
   struct value_print_options opts;
-  struct value *target;
   struct type *result;
 
   get_user_print_options (&opts);
@@ -3303,7 +3302,7 @@ coerce_array (struct value *arg)
 
 int
 using_struct_return (struct gdbarch *gdbarch,
-                    struct type *func_type, struct type *value_type)
+                    struct value *function, struct type *value_type)
 {
   enum type_code code = TYPE_CODE (value_type);
 
@@ -3316,7 +3315,7 @@ using_struct_return (struct gdbarch *gdbarch,
     return 0;
 
   /* Probe the architecture for the return-value convention.  */
-  return (gdbarch_return_value (gdbarch, func_type, value_type,
+  return (gdbarch_return_value (gdbarch, function, value_type,
                                NULL, NULL, NULL)
          != RETURN_VALUE_REGISTER_CONVENTION);
 }
This page took 0.024676 seconds and 4 git commands to generate.