mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 12:10:46 +01:00
ompgsql: remove dead code
detected by lgtm static analyzer
This commit is contained in:
parent
7a170d86ea
commit
77b7aec1c2
@ -52,7 +52,6 @@ MODULE_TYPE_OUTPUT
|
||||
MODULE_TYPE_NOKEEP
|
||||
MODULE_CNFNAME("ompgsql")
|
||||
|
||||
static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __attribute__((unused)) *pVal);
|
||||
|
||||
/* internal structures
|
||||
*/
|
||||
@ -77,11 +76,6 @@ typedef struct wrkrInstanceData {
|
||||
ConnStatusType eLastPgSQLStatus; /* last status from postgres */
|
||||
} wrkrInstanceData_t;
|
||||
|
||||
typedef struct configSettings_s {
|
||||
EMPTY_STRUCT
|
||||
} configSettings_t;
|
||||
static configSettings_t __attribute__((unused)) cs;
|
||||
|
||||
/* action (instance) parameters */
|
||||
static struct cnfparamdescr actpdescr[] = {
|
||||
{ "server", eCmdHdlrGetWord, 1 },
|
||||
@ -108,7 +102,6 @@ static struct cnfparamblk actpblk =
|
||||
|
||||
BEGINinitConfVars /* (re)set config variables to default values */
|
||||
CODESTARTinitConfVars
|
||||
resetConfigVariables(NULL, NULL);
|
||||
ENDinitConfVars
|
||||
|
||||
|
||||
@ -515,13 +508,6 @@ CODEqueryEtryPt_STD_CONF2_OMOD_QUERIES
|
||||
/* CODEqueryEtryPt_TXIF_OMOD_QUERIES currently no TX support! */ /* we support the transactional interface! */
|
||||
ENDqueryEtryPt
|
||||
|
||||
/* Reset config variables for this module to default values. */
|
||||
static rsRetVal resetConfigVariables(uchar __attribute__((unused)) *pp, void __attribute__((unused)) *pVal)
|
||||
{
|
||||
DEFiRet;
|
||||
RETiRet;
|
||||
}
|
||||
|
||||
|
||||
BEGINmodInit()
|
||||
CODESTARTmodInit
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user