Home GnuPG
Diffusion GnuPG e140c6d4f581

gpgscm: Build well even if NDEBUG defined.

Description

gpgscm: Build well even if NDEBUG defined.

* gpgscm/scheme.c (gc_reservation_failure): Fix adding ";".
[!NDEBUG] (scheme_init_custom_alloc): Don't init seserved_lineno.

Picked from libgpg-error commit of:
8a9397896fd202dcfb3fb46259e43bc05a0ddd2e

In some build environment, NDEBUG is defined (although it's
bad practice). This change supports such a situation.

  • GnuPG-bug-id: T3959
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 25 2019, 2:44 AM
Parents
rG611faf1579a5: scd: internal driver: Submit SET_INTERFACE control transfer.
Branches
Unknown
Tags
Unknown
Tasks
T3959: Syntax errors in scheme.c