goto error;
     }
 
-
   /* stack-list-variables.  */
   if (print_locals && print_args && ! print_frame_info)
     {
         and are printed with indention.  */
       if (indent > 0)
        {
-       TRY_CATCH (except, RETURN_MASK_ALL)
-         {
-           ui_out_spaces (out, indent*4);
-         }
-       if (except.reason < 0)
-         {
-           gdbpy_convert_exception (except);
-           goto error;
-         }
+         TRY_CATCH (except, RETURN_MASK_ALL)
+           {
+             ui_out_spaces (out, indent*4);
+           }
+         if (except.reason < 0)
+           {
+             gdbpy_convert_exception (except);
+             goto error;
+           }
        }
 
       /* The address is required for frame annotations, and also for
 
              if (gdbpy_is_string (py_func))
                {
-                 char *function_to_free = NULL;
+                 char *function_to_free;
 
                  function = function_to_free =
                    python_string_to_host_string (py_func);
                  goto error;
                }
 
-
              TRY_CATCH (except, RETURN_MASK_ALL)
                {
                  annotate_frame_function_name ();
 
       if (PyObject_HasAttrString (filter, "filename"))
        {
-         PyObject *py_fn = PyObject_CallMethod (filter, "filename",
-                                                NULL);
+         PyObject *py_fn = PyObject_CallMethod (filter, "filename", NULL);
+
          if (py_fn != NULL)
            {
              if (py_fn != Py_None)
     }
 
   /* Finally recursively print elided frames, if any.  */
-  elided  = get_py_iter_from_func (filter, "elided");
+  elided = get_py_iter_from_func (filter, "elided");
   if (elided == NULL)
     goto error;