Browse Source

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

J. Gareth "Curious Kit" Moreton 3 years ago
parent
commit
0f1c4b4db8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/verbose.pas

+ 2 - 0
compiler/verbose.pas

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