Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys/kern



Christos Zoulas writes:
> In article <20161117080649.DC7DFFBAE%cvs.NetBSD.org@localhost>,
> Paul Goyette <source-changes-d%NetBSD.org@localhost> wrote:
> >-=-=-=-=-=-
> >
> >Module Name:	src
> >Committed By:	pgoyette
> >Date:		Thu Nov 17 08:06:49 UTC 2016
> >
> >Modified Files:
> >	src/sys/kern: subr_bufq.c
> >
> >Log Message:
> >Use compile-time initialization for the list head, and make sure that
> >the sysctllog is also initialized before being used.
> 
> -static struct sysctllog *sysctllog;
> +static struct sysctllog *sysctllog = NULL;
> 
> That's unnecessary.

it also wastes space on disk :-)


Home | Main Index | Thread Index | Old Index