b_vid will be set in all code paths where it's used, but not all
compilers do a sophisticated enough dataflow analysis to realize that.
static struct block *
gen_vlan_bpf_extensions(compiler_state_t *cstate, int vlan_num)
{
static struct block *
gen_vlan_bpf_extensions(compiler_state_t *cstate, int vlan_num)
{
- struct block *b0, *b_tpid, *b_vid;
+ struct block *b0, *b_tpid, *b_vid = NULL;
struct slist *s;
/* generate new filter code based on extracting packet
struct slist *s;
/* generate new filter code based on extracting packet