Index | Thread | Search

From:
David Leadbeater <dgl@dgl.cx>
Subject:
Re: dead code tells no tales, 2/16
To:
Miod Vallat <miod@online.fr>
Cc:
tech@openbsd.org
Date:
Mon, 21 Sep 2026 08:38:20 +1000

Download raw body.

Thread
On Sun, Sep 20, 2026 at 09:03:40PM +0000, Miod Vallat wrote:
> These two globals do not appear to be used anywhere in the kernel.
> 
> Index: sys/conf/newvers.sh
> ===================================================================
> RCS file: /OpenBSD/src/sys/conf/newvers.sh,v
> diff -u -p -u -p -r1.217 newvers.sh
> --- sys/conf/newvers.sh	16 Jul 2026 06:21:10 -0000	1.217
> +++ sys/conf/newvers.sh	20 Sep 2026 16:47:44 -0000
> @@ -81,8 +81,6 @@ cat >vers.c <<eof
>  const char ostype[] = "${ost}";
>  const char osrelease[] = "${osr}";
>  const char osversion[] = "${id}#${v}";
> -const char sccs[] =
> -    "    @(#)${ost} ${osr}" STATUS " (${id}) #${v}: ${t}\n";

This one is read by what(1).