Diffusion GPGME 25e2d717f446

tests: Fix gcc incompatibility

Authored by werner on Sat, Oct 3, 7:53 PM.

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

Committed
wernerSat, Oct 3, 7:54 PM
Parents
rMfd904f87f8d4: gpgsm: Fix leaked fd.
Branches
Unknown
Tags
Unknown
Tasks
T5088: gpgme-1-13-1 test failure and errors and build errors