Explicitly initialize the reference count to 0. This silences a warning

with -Wno-uninitialized.
This commit is contained in:
Dag-Erling Smørgrav 2001-06-10 10:54:29 +00:00
parent 1e4ebf4e8d
commit 09f8f5b259

View File

@ -171,7 +171,7 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_entry);
#define SYSCTL_OID(parent, nbr, name, kind, a1, a2, handler, fmt, descr) \
static struct sysctl_oid sysctl__##parent##_##name = { \
&sysctl_##parent##_children, { 0 }, \
nbr, kind, a1, a2, #name, handler, fmt }; \
nbr, kind, a1, a2, #name, handler, fmt, 0 }; \
DATA_SET(sysctl_set, sysctl__##parent##_##name);
#define SYSCTL_ADD_OID(ctx, parent, nbr, name, kind, a1, a2, handler, fmt, descr) \