Source: nn Version: 6.7.3-14 Severity: normal Tags: patch Dear Maintainer,
>From 36612aefe3a30803894d5ee92b48b4713b100c5a Mon Sep 17 00:00:00 2001 >From: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> >Date: Sat, 27 Mar 2021 22:50:22 +0000 >Subject: [PATCH] decode: define "ostate" when "DEC_DEBUG" is defined "ostate" is the previous value of "state", and only used when debugging is on. Signed-off-by: Bjarni Ingi Gislason <bjarn...@rhi.hi.is> --- decode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/decode.c b/decode.c index 3047e42..0c3616e 100644 --- a/decode.c +++ b/decode.c @@ -71,6 +71,8 @@ static int state, arcpart; #define MIN_DECODE_LEADING 8 /* lines to decode ok when doing skip-leading */ #ifdef DEC_DEBUG +static int ostate = 0; /* previous (old) value of "state" */ + char *state_tbl[] = { "-", "decode", "find begin", "find a/error", "find a/include", "new begin", "found end", "found include", "skip leading", -- 2.30.2 -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.19-1 (SMP w/2 CPU threads) Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) -- debconf information excluded -- Bjarni I. Gislason