Make gcc4.2 happy and zero save_ip for the unlikely (blackhole != 0)

codepath.
This commit is contained in:
Matt Jacob 2007-06-17 04:07:11 +00:00
parent 3f8d71d596
commit cce418d3bf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170861

View File

@ -243,6 +243,8 @@ udp_input(struct mbuf *m, int off)
*/
if (!blackhole)
save_ip = *ip;
else
memset(&save_ip, 0, sizeof(save_ip));
/*
* Checksum extended UDP header and data.