Browse Source

- removed useless ansistring pointer def creation from r32209

git-svn-id: trunk@32210 -
Jonas Maebe 9 years ago
parent
commit
998cdbfe79
1 changed files with 0 additions and 2 deletions
  1. 0 2
      compiler/aasmcnst.pas

+ 0 - 2
compiler/aasmcnst.pas

@@ -1641,7 +1641,6 @@ implementation
    procedure ttai_typedconstbuilder.queue_emit_const(cs: tconstsym);
    procedure ttai_typedconstbuilder.queue_emit_const(cs: tconstsym);
      var
      var
        resourcestrrec: trecorddef;
        resourcestrrec: trecorddef;
-       ansiptr: tdef;
      begin
      begin
        if cs.consttyp<>constresourcestring then
        if cs.consttyp<>constresourcestring then
          internalerror(2014062102);
          internalerror(2014062102);
@@ -1652,7 +1651,6 @@ implementation
          constresourcestring:
          constresourcestring:
            begin
            begin
              resourcestrrec:=trecorddef(search_system_type('TRESOURCESTRINGRECORD').typedef);
              resourcestrrec:=trecorddef(search_system_type('TRESOURCESTRINGRECORD').typedef);
-             ansiptr:=cpointerdef.getreusable(cansistringtype);
              queue_subscriptn_multiple_by_name(resourcestrrec,['CURRENTVALUE']);
              queue_subscriptn_multiple_by_name(resourcestrrec,['CURRENTVALUE']);
              queue_emit_asmsym(current_asmdata.RefAsmSymbol(
              queue_emit_asmsym(current_asmdata.RefAsmSymbol(
                make_mangledname('RESSTR',cs.owner,cs.name),AT_DATA),cansistringtype
                make_mangledname('RESSTR',cs.owner,cs.name),AT_DATA),cansistringtype