Home GnuPG
Diffusion GPGME 25e2d717f446

tests: Fix gcc incompatibility

Description

tests: Fix gcc incompatibility

* tests/json/t-json.c: Remove var definitions inside a for statement.

This useful C99 feature seems to work only in recent gcc versions. We
can't use it; see gnupg/doc/HACKING.

Details

Provenance
wernerAuthored on Oct 3 2020, 7:53 PM
Parents
rMfd904f87f8d4: gpgsm: Fix leaked fd.
Branches
Unknown
Tags
Unknown
Tasks
T5088: gpgme-1-13-1 test failure and errors and build errors