diff options
Diffstat (limited to 'lib/unistdio/u-asprintf.h')
| -rw-r--r-- | lib/unistdio/u-asprintf.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/unistdio/u-asprintf.h b/lib/unistdio/u-asprintf.h index 3f0a3aec..0857d6d8 100644 --- a/lib/unistdio/u-asprintf.h +++ b/lib/unistdio/u-asprintf.h @@ -1,5 +1,5 @@ /* Formatted output to strings. - Copyright (C) 1999, 2002, 2005-2007, 2009-2025 Free Software Foundation, + Copyright (C) 1999, 2002, 2005-2007, 2009-2026 Free Software Foundation, Inc. This file is free software. @@ -27,10 +27,8 @@ int ASPRINTF (DCHAR_T **resultp, const FCHAR_T *format, ...) { va_list args; - int result; - va_start (args, format); - result = VASPRINTF (resultp, format, args); + int result = VASPRINTF (resultp, format, args); va_end (args); return result; } |
