gpgscm: Fix setting the line of the first gc reservation.

* tests/gpgscm/scheme.c (_gc_disable): Negate guard.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2017-01-30 17:08:27 +01:00
parent 489edf84c9
commit d27a4435bd
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ _gc_disable(struct scheme *sc, size_t reserve, int lineno)
if (sc->inhibit_gc == 0) {
reserve_cells(sc, (reserve));
sc->reserved_cells = (reserve);
#ifndef NDEBUG
#ifdef NDEBUG
(void) lineno;
#else
sc->reserved_lineno = lineno;