From b0afb8fe0ff1d87165af9df61501197a06240dda Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Sun, 28 Dec 2025 12:13:40 +0100 Subject: Sync with Gnulib stable-202507 code (a8ac9f9ce5) --- gl/printf-parse.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'gl/printf-parse.c') diff --git a/gl/printf-parse.c b/gl/printf-parse.c index a33e27a0..79b35034 100644 --- a/gl/printf-parse.c +++ b/gl/printf-parse.c @@ -1,5 +1,5 @@ /* Formatted output to strings. - Copyright (C) 1999-2000, 2002-2003, 2006-2024 Free Software Foundation, Inc. + Copyright (C) 1999-2000, 2002-2003, 2006-2025 Free Software Foundation, Inc. This file is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -600,20 +600,14 @@ PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a) if (signed_type == TYPE_LONGINT /* For backward compatibility only. */ || signed_type == TYPE_LONGLONGINT) -#if HAVE_WCHAR_T type = TYPE_WIDE_STRING; -#else - goto error; -#endif else type = TYPE_STRING; break; -#if HAVE_WCHAR_T case 'S': type = TYPE_WIDE_STRING; c = 's'; break; -#endif case 'p': type = TYPE_POINTER; break; -- cgit v1.2.3-74-g34f1