Why is this an issue?

Delphi allows empty statements, which means that stray semicolons can be added in most places. These are unnecessary, confusing, and should be removed.

They are almost always introduced by mistake, such as:

How to fix it

Remove the stray semicolon:

Result := 123;;
Result := 123;