From: Lee <ler762@users.sourceforge.net>
Date: Mon, 2 Jan 2023 19:05:10 +0000 (-0500)
Subject: doc nit: no longer so many warnings for implicit-fallthrough
X-Git-Tag: v_3_0_34~44
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/man-page/static/@default-cgi@toggle?a=commitdiff_plain;h=da1e903e244a34c31e9728b80c1a2ce421166aaf;p=privoxy.git

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 */
      |       ^~~~
---

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