CID 1312751: Removing redundant assignment.

This commit is contained in:
Robin Sommer 2015-08-06 22:14:48 -04:00
parent 4c2aa804e1
commit 8fc44e7e86
2 changed files with 3 additions and 4 deletions

@ -1 +1 @@
Subproject commit 2799b2a13577fc70eea1da6192879a25c58902de
Subproject commit fcf1ccfa9d2bfd8036a917d12b43ebe45d351927

View file

@ -310,9 +310,8 @@ void Packet::ProcessLayer2()
}
// We've now determined (a) L3_IPV4 vs (b) L3_IPV6 vs
// (c) L3_ARP vs (d) L3_UNKNOWN.
l3_proto = l3_proto;
// We've now determined (a) L3_IPV4 vs (b) L3_IPV6 vs (c) L3_ARP vs
// (d) L3_UNKNOWN.
// Calculate how much header we've used up.
hdr_size = (pdata - data);