Browse Source

Joey found a bug. Bad Rusty, use sentinal attribute.

Rusty Russell 17 years ago
parent
commit
445d1468f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/ccanlint/idempotent.c

+ 1 - 1
tools/ccanlint/idempotent.c

@@ -102,7 +102,7 @@ static char *report_idem(struct ccan_file *f, char *sofar)
 		if (line_info[i].type == DOC_LINE
 		    || line_info[i].type == COMMENT_LINE)
 			continue;
-		if (get_ccan_line_pp(line_info[i].cond, sym, &val)
+		if (get_ccan_line_pp(line_info[i].cond, sym, &val, NULL)
 		    != NOT_COMPILED)
 			return talloc_asprintf_append(sofar,
 			      "%s:%u:code outside idempotent region.\n",