]> sourceware.org Git - glibc.git/commit
vfprintf: Unify argument handling in process_arg
authorFlorian Weimer <fweimer@redhat.com>
Thu, 23 Sep 2021 09:16:02 +0000 (11:16 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 23 Sep 2021 09:19:20 +0000 (11:19 +0200)
commit475b0b92e079c67ea8a25ec05fe0b17fdd935e12
tree9b72489f5b138165d704fc4bbbf2e432fbe084bc
parent0a5e270bd16f2df5c72a1524c71b057e774a4942
vfprintf: Unify argument handling in process_arg

Instead of checking a pointer argument for NULL, use helper macros
defined differently in the non-positional and positional cases.
This avoids frequent conditional checks and a GCC 12 warning
about comparing pointers against NULL which cannot be NULL.
stdio-common/vfprintf-internal.c
This page took 0.040233 seconds and 5 git commands to generate.