From 0241263f05f2ba8b5e3794586fac380708ddfad5 Mon Sep 17 00:00:00 2001 From: Oliver Kurth Date: Thu, 4 Jan 2024 15:15:48 -0800 Subject: [PATCH] remove special case --setopt=tdnf.conf= --- common/setopt.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/common/setopt.c b/common/setopt.c index e2e635d9..b806130c 100644 --- a/common/setopt.c +++ b/common/setopt.c @@ -30,15 +30,6 @@ AddSetOpt( dwError = GetOptionAndValue(pszOptArg, &pCmdOpt); BAIL_ON_TDNF_ERROR(dwError); - if(!strcmp(pCmdOpt->pszOptName, "tdnf.conf")) - { - TDNF_SAFE_FREE_MEMORY(pCmdArgs->pszConfFile); - dwError = TDNFAllocateString( - pCmdOpt->pszOptValue, - &pCmdArgs->pszConfFile); - BAIL_ON_TDNF_ERROR(dwError); - } - dwError = AddSetOptWithValues(pCmdArgs, pCmdOpt->pszOptName, pCmdOpt->pszOptValue); BAIL_ON_TDNF_ERROR(dwError);