Remove TYPE_TAG_NAME
[deliverable/binutils-gdb.git] / gdb / valarith.c
index 58e3a09c3785e3cbab78903ef43871b90f6893a4..d2dd5900647473ece117d4ac9102a36363222ebf 100644 (file)
@@ -60,8 +60,6 @@ find_size_for_pointer_math (struct type *ptr_type)
          const char *name;
          
          name = TYPE_NAME (ptr_target);
-         if (name == NULL)
-           name = TYPE_TAG_NAME (ptr_target);
          if (name == NULL)
            error (_("Cannot perform pointer math on incomplete types, "
                   "try casting to a known type, or void *."));
This page took 0.032996 seconds and 4 git commands to generate.