Replace the block_found global with explicit data-flow
[deliverable/binutils-gdb.git] / gdb / c-valprint.c
index 0cf2d7d972d812f284de27ef7314e418419aefe1..80a75d79db157fef43776d4493540fefff0ac06d 100644 (file)
@@ -203,7 +203,7 @@ print_unpacked_pointer (struct type *type, struct type *elttype,
 
          if (msymbol.minsym != NULL)
            wsym = lookup_symbol (MSYMBOL_LINKAGE_NAME(msymbol.minsym), block,
-                                 VAR_DOMAIN, &is_this_fld);
+                                 VAR_DOMAIN, &is_this_fld).symbol;
 
          if (wsym)
            {
This page took 0.029555 seconds and 4 git commands to generate.