summaryrefslogtreecommitdiffstats
path: root/src/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cache.c b/src/cache.c
index 2a0f04d1..532ef425 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -24,13 +24,7 @@ static unsigned int evaluate_cache_add(struct cmd *cmd)
completeness = cmd->op;
break;
case CMD_OBJ_RULE:
- /* XXX index is set to zero unless this handle_merge() call is
- * invoked, this handle_merge() call is done from the
- * evaluation, which is too late.
- */
- handle_merge(&cmd->rule->handle, &cmd->handle);
-
- if (cmd->rule->handle.index.id)
+ if (cmd->handle.index.id)
completeness = CMD_LIST;
break;
default: