diff options
Diffstat (limited to 'runtime/rsconf.c')
-rw-r--r-- | runtime/rsconf.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/runtime/rsconf.c b/runtime/rsconf.c index 96118538..2cffd14c 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); @@ -379,8 +380,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); } |