diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-08-25 15:22:39 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-27 00:54:21 +0200 |
commit | 8d48716a8ef62f88a8bf9411e3db804746293953 (patch) | |
tree | a3406bf2562fc8ff0ce9ff79c471f61806dada5f | |
parent | 0f2165548c855c7e91b3491afe2dd355be1bec64 (diff) |
Always initialize A and X variables in BPF code
* device/net_io.c (bpf_do_filter): Remove lint conditional.
-rw-r--r-- | device/net_io.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/device/net_io.c b/device/net_io.c index 1db9bca..8446395 100644 --- a/device/net_io.c +++ b/device/net_io.c @@ -1655,10 +1655,9 @@ bpf_do_filter(infp, p, wirelen, header, hlen, hash_headpp, entpp) buflen = NET_RCV_MAX; *entpp = 0; /* default */ -#ifdef lint A = 0; X = 0; -#endif + for (; pc < pc_end; ++pc) { switch (pc->code) { |