Set result of functions calling RunError to avoid useless warnings

git-svn-id: trunk@34335 -
This commit is contained in:
pierre 2016-08-19 12:21:17 +00:00
parent 44f00c2bf4
commit 2ec79b3606

View File

@ -54,6 +54,7 @@ uses
function MakeObjectInstance(Method: TWndMethod): Pointer;
begin
runerror(211);
MakeObjectInstance:=nil;
end;
@ -66,6 +67,7 @@ procedure FreeObjectInstance(ObjectInstance: Pointer);
function AllocateHWnd(Method: TWndMethod): HWND;
begin
runerror(211);
AllocateHWnd:=0;
end;