]> git.notmuchmail.org Git - notmuch/commit
configure: avoid warning with -Wall
authorMichael J Gruber <git@grubix.eu>
Mon, 18 Apr 2022 14:48:50 +0000 (16:48 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 19 Apr 2022 20:11:46 +0000 (17:11 -0300)
commit0d0cc2a547b67183406458eba701427aa1f6fbbe
treeecdcda4995138e60dc454cb056373a3e5a09c8b2
parent7dd6dacb10264c0035ea999fa110517f039c8cf1
configure: avoid warning with -Wall

7228fe68 ("configure: restructure gmime cert validity checker code",
2022-04-09) restructured generated C code to repurpose it later on. This
put usage of `validity` within an `#if`, resulting in an "unused
warning" if that `#if` is not executed.

Put the variable declariation inside the same if branch and, thus,  quel
the warning.

Signed-off-by: Michael J Gruber <git@grubix.eu>
configure