From 8d48716a8ef62f88a8bf9411e3db804746293953 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 25 Aug 2011 15:22:39 +0200 Subject: Always initialize A and X variables in BPF code * device/net_io.c (bpf_do_filter): Remove lint conditional. --- device/net_io.c | 3 +-- 1 file changed, 1 insertion(+), 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) { -- cgit v1.2.3