From b80b9fbc19673f63d49831ce69459cc23954c5d2 Mon Sep 17 00:00:00 2001 From: Kagamine Haku Date: Fri, 18 Oct 2024 13:44:47 +0700 Subject: [PATCH] Delete useless comment --- platform/config.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/platform/config.c b/platform/config.c index 98b67b6..f2eea12 100644 --- a/platform/config.c +++ b/platform/config.c @@ -360,15 +360,13 @@ void epay_config_load(struct epay_config *cfg, const wchar_t *filename) void openssl_patch_config_load(struct openssl_patch_config *cfg, const wchar_t *filename) { - // Ensure the config structure and filename are valid assert(cfg != NULL); assert(filename != NULL); - // Read the "enable" key from the "[openssl]" section of the configuration file cfg->enable = GetPrivateProfileIntW( - L"openssl", // Section name - L"enable", // Key name - 1, // Default value if the key is not found (disabled by default) - filename // INI file name + L"openssl", + L"enable", + 1, + filename ); }