'sin' is never used after assignment. Looking at the context, it seems

that it belongs the commented out section of code so make it part of that
section.

Reported by:	clang static analyzer
MFC after:	2 weeks
This commit is contained in:
Xin LI 2015-09-19 20:12:53 +00:00
parent 921af50782
commit 99e4638821
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287995

View file

@ -728,9 +728,9 @@ again:;
isrouter ? "R" : "",
(rtm->rtm_flags & RTF_ANNOUNCE) ? "p" : "");
} else {
#if 0 /* W and P are mystery even for us */
sin = (struct sockaddr_in6 *)
(sdl->sdl_len + (char *)sdl);
#if 0 /* W and P are mystery even for us */
snprintf(flgbuf, sizeof(flgbuf), "%s%s%s%s",
isrouter ? "R" : "",
!IN6_IS_ADDR_UNSPECIFIED(&sin->sin6_addr) ? "P" : "",