mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-17 04:41:59 +02:00
* gl/lib/mbsalign.c (mbsalign): Mark unused parameter. * bootstrap.conf (gnulib_modules): Remove obsolete rename-dest-slash. * gnulib-tests/Makefile.am (AM_CFLAGS): Reduce set of warnings for gnulib tests. * gl/modules/rename-tests.diff (Makefile.am): New file, to add LIBINTL to LDADD, since we avoid canonicalize-lgpl module. * gl/lib/regcomp.c.diff (regerror, calc_next) (build_collating_symbol, parse_bracket_element, build_equiv_class) (free_tree): Mark unused parameters. * gl/lib/regex_internal.h.diff (re_string_elem_size_at): New file, to mark unused parameters. * gl/lib/printf-args.c.diff (PRINTF_FETCHARGS): New file, to avoid type mismatch. * gl/lib/vasnprintf.c (VASNPRINTF): New file, to avoid shadowing local variable name. * .gitignore: Ignore temporary build artifacts.
15 lines
481 B
Diff
15 lines
481 B
Diff
diff --git i/lib/regex_internal.h w/lib/regex_internal.h
|
|
index 859832f..3c7fe06 100644
|
|
--- i/lib/regex_internal.h
|
|
+++ w/lib/regex_internal.h
|
|
@@ -826,7 +826,8 @@ re_string_wchar_at (const re_string_t *pstr, Idx idx)
|
|
|
|
static int
|
|
internal_function __attribute ((pure))
|
|
-re_string_elem_size_at (const re_string_t *pstr, Idx idx)
|
|
+re_string_elem_size_at (const re_string_t *pstr _UNUSED_PARAMETER_,
|
|
+ Idx idx _UNUSED_PARAMETER_)
|
|
{
|
|
# ifdef _LIBC
|
|
const unsigned char *p, *extra;
|