mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
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:
parent
489edf84c9
commit
d27a4435bd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user