configure: Support gcc 12
authorBart Van Assche <bvanassche@acm.org>
Mon, 13 Jun 2022 23:18:09 +0000 (16:18 -0700)
committerBart Van Assche <bvanassche@acm.org>
Mon, 13 Jun 2022 23:44:00 +0000 (16:44 -0700)
commite9aab3c9c90222cc478dfa86860322690af74309
tree99ab67a973df7a2d28c9d7fda9919e7a176ec4a8
parent26faead0f3c6e7608b89a51373f1455b91377fcb
configure: Support gcc 12

Fix the following classes of errors reported by gcc 12:
* ${variable} may be used uninitialized.
* ${variable} is set but not used.
* argument 2 is null but the corresponding size argument 3 value is 1 [-Werror=nonnull]

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
configure