Ver Fonte

Fixed Unreachable code warning when building on a 32-bit platform with DEBUG_NODE_XML

J. Gareth "Curious Kit" Moreton há 3 anos atrás
pai
commit
0f1c4b4db8
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      compiler/verbose.pas

+ 2 - 0
compiler/verbose.pas

@@ -1058,8 +1058,10 @@ implementation
           $10000..$FFFFFFFF:
             WritePointer := '$' + hexstr(PtrUInt(P), 8);
     {$ifend sizeof(Pointer) >= 4}
+    {$if sizeof(Pointer) > 4}
           else
             WritePointer := '$' + hexstr(PtrUInt(P), 2*sizeof(Pointer));
+    {$ifend sizeof(Pointer) > 4}
         end;
       end;