]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add #ifdef INET6 around declaration of nbuf.
authorrmacklem <rmacklem@FreeBSD.org>
Sun, 28 Apr 2019 22:37:59 +0000 (22:37 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Sun, 28 Apr 2019 22:37:59 +0000 (22:37 +0000)
commit2a7ed7c4ee02cba8eb6e88741ea413cef57f2fcc
tree3083163b1ea914b912fd9d756e893429d408b599
parent8769fe34396b7e9e18b9b5cb33b46d34b40af57a
Add #ifdef INET6 around declaration of nbuf.

It was reported that without #ifdef INET6 around the declaration of "nbuf",
a build would report an unused variable. For some reason, I didn't see that
warning when I did a build, but it seems reasonable to add these #ifdef INET6's.

Submitted by: dmitryluhtionov@gmail.com
MFC after: 1 week
usr.sbin/nfsdumpstate/nfsdumpstate.c