projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
144dff1
)
Joey found a bug. Bad Rusty, use sentinal attribute.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 7 Apr 2009 02:10:50 +0000
(11:40 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 7 Apr 2009 02:10:50 +0000
(11:40 +0930)
tools/ccanlint/idempotent.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/idempotent.c
b/tools/ccanlint/idempotent.c
index ffe3d7380483bc3e4ee7b9fc1faf01ffd1cdbe9f..fa65b05faa8559e4158335c7c57ae9665c45b54a 100644
(file)
--- a/
tools/ccanlint/idempotent.c
+++ b/
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",