From 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 Mon Sep 17 00:00:00 2001 From: Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> Date: Thu, 26 Mar 2026 12:53:53 +0100 Subject: Update/gnulib 2026 03 (#2247) * Sync with the 202601-stable Gnulib code (4a3650d887) * Ignore more deps stuff in gnulib * Remove autogenerated gnulib files * Ignore more gnulib generated headers --- gl/snprintf.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gl/snprintf.c') diff --git a/gl/snprintf.c b/gl/snprintf.c index edeee083..58ad5d7a 100644 --- a/gl/snprintf.c +++ b/gl/snprintf.c @@ -1,5 +1,5 @@ /* Formatted output to strings. - Copyright (C) 2004, 2006-2025 Free Software Foundation, Inc. + Copyright (C) 2004, 2006-2026 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 @@ -28,10 +28,8 @@ int snprintf (char *str, size_t size, const char *format, ...) { va_list args; - ptrdiff_t ret; - va_start (args, format); - ret = vsnzprintf (str, size, format, args); + ptrdiff_t ret = vsnzprintf (str, size, format, args); va_end (args); #if PTRDIFF_MAX > INT_MAX -- cgit v1.2.3-74-g34f1