mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
Fix another boatload of warnings (missing include) and a cosmetic
-Wuninitialized warning.
This commit is contained in:
parent
777b9faaa4
commit
71e166afe3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91453
@ -66,6 +66,7 @@
|
||||
#ifdef INET6
|
||||
#include <netinet/ip6.h>
|
||||
#include <netinet6/ip6_var.h>
|
||||
#include <netinet/in_pcb.h>
|
||||
#include <netinet6/in6_pcb.h>
|
||||
#include <netinet/icmp6.h>
|
||||
#include <netinet6/ip6protosw.h>
|
||||
@ -990,6 +991,7 @@ ah6_ctlinput(cmd, sa, d)
|
||||
} else {
|
||||
m = NULL;
|
||||
ip6 = NULL;
|
||||
off = 0; /* calm gcc */
|
||||
}
|
||||
|
||||
if (ip6) {
|
||||
|
@ -64,6 +64,7 @@
|
||||
|
||||
#ifdef INET6
|
||||
#include <netinet/ip6.h>
|
||||
#include <netinet/in_pcb.h>
|
||||
#include <netinet6/in6_pcb.h>
|
||||
#include <netinet6/ip6_var.h>
|
||||
#include <netinet/icmp6.h>
|
||||
@ -914,6 +915,7 @@ esp6_ctlinput(cmd, sa, d)
|
||||
} else {
|
||||
m = NULL;
|
||||
ip6 = NULL;
|
||||
off = 0; /* calm gcc */
|
||||
}
|
||||
|
||||
if (ip6) {
|
||||
|
Loading…
Reference in New Issue
Block a user