[Privoxy-commits] [privoxy] branch master updated: doc nit: no longer so many warnings for implicit-fallthrough
User Git
git at git.privoxy.org
Mon Jan 2 20:04:53 CET 2023
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
The following commit(s) were added to refs/heads/master by this push:
new da1e903e doc nit: no longer so many warnings for implicit-fallthrough
da1e903e is described below
commit da1e903e244a34c31e9728b80c1a2ce421166aaf
Author: Lee <ler762 at users.sourceforge.net>
AuthorDate: Mon Jan 2 14:05:10 2023 -0500
doc nit: no longer so many warnings for implicit-fallthrough
The old pcre code included with Privoxy had lots of fallthroughs
but that code is gone and the only implicit-fallthrough left is:
w32log.c: In function ‘LogWindowProc’:
w32log.c:1189:27: warning: this statement may fall through [-Wimplicit-fallthrough=]
1189 | g_bShowLogWindow = wParam;
| ~~~~~~~~~~~~~~~~~^~~~~~~~
w32log.c:1190:7: note: here
1190 | case WM_SIZE: /* note: implicit-fallthrough */
| ^~~~
---
windows/MYconfigure | 2 --
1 file changed, 2 deletions(-)
diff --git a/windows/MYconfigure b/windows/MYconfigure
index 6f73b98a..5acc59da 100755
--- a/windows/MYconfigure
+++ b/windows/MYconfigure
@@ -92,8 +92,6 @@ CFLAGS="${CFLAGS} -Wall"
# see: http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
# -Wall doesn't actually turn on all warnings, so add -Wextra
# but then plenty too many complaints by
-# -Wimplicit-fallthrough=3
-# too many warnings in pcre/study.c & pcre.c
# -Wmissing-field-initializers
# -Wsign-compare
# -Wtype-limits
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list