$OpenBSD: patch-src_funcs_c,v 1.2 2020/12/09 10:24:57 gonzalo Exp $
Index: src/funcs.c
--- src/funcs.c.orig
+++ src/funcs.c
@@ -1115,14 +1115,11 @@ END_DEFUN
 /* The `start' and `end' arguments are fake, hence their string type,
    so they can be ignored, hence the pragma (FIXME: work out how to
    apply just to `start' and `end'). */
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
 DEFUN_ARGS ("shell-command-on-region", shell_command_on_region,
             STR_ARG (start)
             STR_ARG (end)
             STR_ARG (cmd)
             BOOL_ARG (insert))
-#pragma GCC diagnostic pop
 /*+
 Execute string command in inferior shell with region as input.
 Normally display output (if any) in temp buffer `*Shell Command Output*';
