summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r--runtime/rsconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c
index 96118538..7caa0cc5 100644
--- a/runtime/rsconf.c
+++ b/runtime/rsconf.c
@@ -360,9 +360,6 @@ void cnfDoObj(struct cnfobj *o)
case CNFOBJ_MODULE:
modulesProcessCnf(o);
break;
- case CNFOBJ_ACTION:
- actionProcessCnf(o);
- break;
case CNFOBJ_TPL:
tplProcessCnf(o);
break;
@@ -371,6 +368,10 @@ void cnfDoObj(struct cnfobj *o)
/* these types are processed at a later stage */
bChkUnuse = 0;
break;
+ default:
+ dbgprintf("cnfDoObj program error: unexpected object type %u\n",
+ o->objType);
+ break;
}
if(bChkUnuse)
nvlstChkUnused(o->nvlst);
@@ -380,7 +381,6 @@ void cnfDoObj(struct cnfobj *o)
void cnfDoScript(struct cnfstmt *script)
{
// TODO: streamline this, call directly into ruleset from grammar.y
- // TODO: BSD-Style blocks?
dbgprintf("cnf:global:script\n");
ruleset.AddScript(ruleset.GetCurrent(loadConf), script);
}