Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FixInsight Warning] cmpRuler.pas(112): W507 THEN statement is equal to ELSE statement #6

Open
IL2 opened this issue Mar 31, 2016 · 0 comments

Comments

@IL2
Copy link

IL2 commented Mar 31, 2016

Possible error here:
https://github.com/graemeg/xananews/blob/master/components/MiscUnits/Source/cmpRuler.pas#L112

procedure TXNRuler.Paint;
  if fDialogBox <> 0 then
    sm := fSmallTickSpacing
  else
    sm := fSmallTickSpacing;

[FixInsight Warning] cmpRuler.pas(112): W507 THEN statement is equal to ELSE statement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant