mbox series

[0/2] vfprintf cleanups to avoid -Waddress warning

Message ID cover.1632294469.git.fweimer@redhat.com
Headers show
Series vfprintf cleanups to avoid -Waddress warning | expand


Florian Weimer Sept. 22, 2021, 7:09 a.m. UTC
These two patches slightly clean up stdio-common/vfprintf-internal.c,
reducing code duplication slightly and removing a GCC 12 warning.

Tested on i686-linux-gnu and x86_64-linux-gnu.  Built with


Florian Weimer (2):
  vfprintf: Handle floating-point cases outside of process_arg macro
  vfprintf: Unify argument handling in process_arg

 stdio-common/vfprintf-internal.c | 392 +++++++++++++------------------
 1 file changed, 164 insertions(+), 228 deletions(-)

base-commit: 1356f38df5be0776823eb2c40cc4e607b86b9680