Use gdbpy_enter in python.c
[deliverable/binutils-gdb.git] / gdb / utils.c
index 34e10d37d064c06e5d74559d8b26a90e1f0fa270..a6d2033727e1a6afab08db3a5f4ed72df48ae002 100644 (file)
@@ -218,8 +218,7 @@ do_ui_out_redirect_pop (void *arg)
 {
   struct ui_out *uiout = (struct ui_out *) arg;
 
-  if (uiout->redirect (NULL) < 0)
-    warning (_("Cannot restore redirection of the current output protocol"));
+  uiout->redirect (NULL);
 }
 
 /* Return a new cleanup that pops the last redirection by ui_out_redirect
This page took 0.023266 seconds and 4 git commands to generate.