In my browserdetection code I have this: const OS_HAS_DEFAULT_BROWSER = {$IFDEF WINDOWS}True{$ELSE}False{$ENDIF};
When I compile my program I get this warning: "browserdetection.pp(187,34) Warning: unreachable code" line 187 -> if OS_HAS_DEFAULT_BROWSER then Exit; (the cursor then blinks on the E in Exit (position 34)) Why is this? Bart _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus