mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 17:39:25 +02:00
Set result of functions calling RunError to avoid useless warnings
git-svn-id: trunk@34335 -
This commit is contained in:
parent
44f00c2bf4
commit
2ec79b3606
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user