mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
'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:
parent
921af50782
commit
99e4638821
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287995
|
@ -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" : "",
|
||||
|
|
Loading…
Reference in a new issue