diff options
author | 2003-06-10 17:03:25 -0700 | |
---|---|---|
committer | 2005-04-07 21:00:52 -0700 | |
commit | 42ebe65d4fbf4e99f1c3525d06b3244310f20f62 (patch) | |
tree | ffedf10012ac1c2c4a2062bd2908163ab82d7bbe /inline.c | |
parent | Install the kernel source checker as "sparse" in /usr/local/bin. (diff) | |
download | sparse-42ebe65d4fbf4e99f1c3525d06b3244310f20f62.tar.gz sparse-42ebe65d4fbf4e99f1c3525d06b3244310f20f62.tar.bz2 sparse-42ebe65d4fbf4e99f1c3525d06b3244310f20f62.zip |
Add "-v" flag for verbose mode.
Warn about internal "not implemented yet" kinds of things only
when verbose. These warnings have nothing to do with the sources
we're checking, they're only good for pointing out limitations
of sparse itself.
Diffstat (limited to 'inline.c')
-rw-r--r-- | inline.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -109,7 +109,8 @@ static struct expression * copy_expression(struct expression *expr) } default: - warn(expr->pos, "trying to copy expression type %d", expr->type); + if (verbose) + warn(expr->pos, "trying to copy expression type %d", expr->type); } return expr; } |