From 7147ccc5fa45adf66af18ca9a8faca234c61a96a Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Thu, 27 Jul 2023 13:36:57 +0200 Subject: [PATCH] Format globals.c --- src/globals.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/globals.c b/src/globals.c index d2ebc2f..9dd286d 100644 --- a/src/globals.c +++ b/src/globals.c @@ -26,15 +26,12 @@ bool globals_init(void) { * RTLD_NOLOAD: Don't load the shared object. */ hw = dlopen("hw.so", RTLD_LAZY | RTLD_NOLOAD); - - /* Make sure it's a valid handler */ if (!hw) { printf("hl-cheat: globals_init: can't open hw.so\n"); return false; } h_client = (void**)dlsym(hw, "hClientDLL"); - if (!h_client) { printf("hl-cheat: globals_init: can't find hClientDLL\n"); return false;