From 5d1efa847fc038d8c34b0e050a30bb07c6cb686e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 4 Nov 2020 12:55:25 +0100 Subject: api: use a logging alloc function Signed-off-by: Jason A. Donenfeld --- api/entry.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'api/entry.h') diff --git a/api/entry.h b/api/entry.h index 4f925b1..ac37680 100644 --- a/api/entry.h +++ b/api/entry.h @@ -26,8 +26,6 @@ #endif #pragma warning(disable : 4127) /* conditional expression is constant */ -#define RET_ERROR(Ret, Error) ((Error) == ERROR_SUCCESS ? (Ret) : (SetLastError(Error), 0)) - extern HINSTANCE ResourceModule; extern HANDLE ModuleHeap; extern SECURITY_ATTRIBUTES SecurityAttributes; -- cgit v1.2.3-59-g8ed1b