]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/parse.c
* ax-gdb.c (agent_command): Remove now useless cast of
[thirdparty/binutils-gdb.git] / gdb / parse.c
index 7a5db47f2b0f3aeb36e3c93c842089b027caa25c..5997fae636a3ca6b178cd314217ea8f155b9d6ab 100644 (file)
@@ -1176,7 +1176,7 @@ parse_exp_1 (stringptr, block, comma)
   expout = (struct expression *)
     xmalloc (sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_size));
   expout->language_defn = current_language;
-  make_cleanup ((make_cleanup_func) free_current_contents, &expout);
+  make_cleanup (free_current_contents, &expout);
 
   if (current_language->la_parser ())
     current_language->la_error (NULL);