]> The Tcpdump Group git mirrors - libpcap/commit
Eliminate some unneeded variables and move some comments.
authorGuy Harris <[email protected]>
Thu, 29 Jan 2015 06:40:42 +0000 (22:40 -0800)
committerGuy Harris <[email protected]>
Fri, 6 Feb 2015 01:42:36 +0000 (17:42 -0800)
commitf074ec5cf9f5487655055a9036ef2ebfa6288af1
treebdb18a9167c5517455c97bc1714899daf10da404
parent8433f5cea8145ae1c3bfd7d4e2ea202454f9e9fe
Eliminate some unneeded variables and move some comments.

Eliminate orig_linktype; we were setting it but never using it.

Eliminnte orig_nl; we were setting it, but in the only places where we
were using it, it had the same value as off_nl, so just use off_nl.

Move some comments next to the code to which they're actually referring
(don't speak of changing offsets before we actually change the offsets).
gencode.c