[patch_done] Patch for TZAbstractConnection

Code patches written by our users to solve certain "problems" that were not solved, yet.

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
Ostfriese
Junior Boarder
Junior Boarder
Posts: 25
Joined: 12.05.2009, 10:48
Location: Coburg
Contact:

[patch_done] Patch for TZAbstractConnection

Post by Ostfriese »

The Delphi compiler throws a warning that the result of PingServer could be undefined. I modified the procedure to

Code: Select all

function TZAbstractConnection.PingServer: Integer;
begin
  RaiseUnsupportedException;
  //050915 set Result to avoid compiler warning
  Result := -1;
end;
Thomas Jefferson wrote:Information ist die Währung der Demokratie
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Image
Post Reply