Fix foreach_with_prefix regression
[deliverable/binutils-gdb.git] / gdb / utils.c
index f55661287eb5d1b7c40e1019c58637151577868c..7120a92258445063e271ee2c802189fafc1c9314 100644 (file)
@@ -678,9 +678,6 @@ maybe_quit (void)
     quit ();
 
   quit_handler ();
-
-  if (deprecated_interactive_hook)
-    deprecated_interactive_hook ();
 }
 
 \f
@@ -2771,7 +2768,7 @@ subset_compare (const char *string_to_compare, const char *template_string)
 {
   int match;
 
-  if (template_string != (char *) NULL && string_to_compare != (char *) NULL
+  if (template_string != NULL && string_to_compare != NULL
       && strlen (string_to_compare) <= strlen (template_string))
     match =
       (startswith (template_string, string_to_compare));
This page took 0.024106 seconds and 4 git commands to generate.