diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-06-10 17:03:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:52 -0700 |
| commit | 42ebe65d4fbf4e99f1c3525d06b3244310f20f62 (patch) | |
| tree | ffedf10012ac1c2c4a2062bd2908163ab82d7bbe /inline.c | |
| parent | 33d6edbdc44d3cc088f59f6fd2440fd601d56e84 (diff) | |
| download | sparse-dev-42ebe65d4fbf4e99f1c3525d06b3244310f20f62.tar.gz | |
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; } |
