diff options
author | des <des@FreeBSD.org> | 2001-06-10 10:54:29 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-06-10 10:54:29 +0000 |
commit | 6f6763ef9f355e973c5ea7a255d3146f32cfa893 (patch) | |
tree | e01384a82d56a338e972f0f09d3cdac68adec91d /sys | |
parent | c48f6bb4dbce6c285b03c90eadf15d1baa731f14 (diff) | |
download | FreeBSD-src-6f6763ef9f355e973c5ea7a255d3146f32cfa893.zip FreeBSD-src-6f6763ef9f355e973c5ea7a255d3146f32cfa893.tar.gz |
Explicitly initialize the reference count to 0. This silences a warning
with -Wno-uninitialized.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/sysctl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 2de78a2..d43c89f8 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -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) \ |