From 21174dc9cf4bc84f553b121c789b7a53c443d202 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sun, 27 Jun 2021 00:02:41 +0300 Subject: [PATCH] engine: library: fix missing return --- engine/common/lib_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/lib_common.c b/engine/common/lib_common.c index f0a3e635..9fd9e31e 100644 --- a/engine/common/lib_common.c +++ b/engine/common/lib_common.c @@ -72,7 +72,7 @@ void *COM_FunctionFromName_SR( void *hInstance, const char *pName ) func = COM_GetPlatformNeutralName( pName ); if( func ) - COM_FunctionFromName( hInstance, func ); + return COM_FunctionFromName( hInstance, func ); #endif return COM_FunctionFromName( hInstance, pName );