projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve diagnostic handling: Add [-Wfoo] and -Werror-foo.
[cparser]
/
main.c
diff --git
a/main.c
b/main.c
index
6a0852b
..
9930066
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-980,7
+980,7
@@
int main(int argc, char **argv)
} else if (SINGLE_OPTION('v')) {
verbose = 1;
} else if (SINGLE_OPTION('w')) {
-
memset(&warning, 0, sizeof(warning)
);
+
disable_all_warnings(
);
} else if (option[0] == 'x') {
const char *opt;
GET_ARG_AFTER(opt, "-x");