Make tui_default_win_height static
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index d5ddd3ece7a01e15ea7f486dabe2ae83a952ef3b..c4306f1488f15af88abb2f44c4b732630235effb 100644 (file)
@@ -197,7 +197,6 @@ print_unpacked_pointer (struct type *type, struct type *elttype,
          struct value *vt_val;
          struct symbol *wsym = NULL;
          struct type *wtype;
-         struct block *block = NULL;
 
          if (want_space)
            fputs_filtered (" ", stream);
@@ -206,7 +205,7 @@ print_unpacked_pointer (struct type *type, struct type *elttype,
            {
              const char *search_name
                = MSYMBOL_SEARCH_NAME (msymbol.minsym);
-             wsym = lookup_symbol_search_name (search_name, block,
+             wsym = lookup_symbol_search_name (search_name, NULL,
                                                VAR_DOMAIN).symbol;
            }
 
This page took 0.023433 seconds and 4 git commands to generate.