python: Make two functions return gdbpy_ref<>
[deliverable/binutils-gdb.git] / gdb / varobj.c
index af607963b47b2d44dd66763c2748159aae74aea6..e109926a27d481d7d438150f5a0fff9f8576c416 100644 (file)
@@ -2318,9 +2318,9 @@ varobj_value_get_print_value (struct value *value,
            {
              struct value *replacement;
 
-             gdbpy_ref<> output (apply_varobj_pretty_printer (value_formatter,
-                                                              &replacement,
-                                                              &stb));
+             gdbpy_ref<> output apply_varobj_pretty_printer (value_formatter,
+                                                               &replacement,
+                                                               &stb);
 
              /* If we have string like output ...  */
              if (output != NULL)
This page took 0.024979 seconds and 4 git commands to generate.