[NET_SCHED]: em_meta: fix compile warning net/sched/em_meta.c: In function 'meta_int_vlan_tag': net/sched/em_meta.c:179: warning: 'tag' may be used uninitialized in this function
Signed-off-by: Patrick McHardy <[EMAIL PROTECTED]> --- commit adfab462c5e0a32ffff274927bba4eec3afc6e35 tree bfac456798152d7ea6bedcca4a03b4f045605d3d parent fb1c15ba9ebcab6478a409051ad26d7d180fe286 author Patrick McHardy <[EMAIL PROTECTED]> Tue, 05 Feb 2008 15:22:21 +0100 committer Patrick McHardy <[EMAIL PROTECTED]> Tue, 05 Feb 2008 15:22:21 +0100 net/sched/em_meta.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c index 9c2ec19..2a7e648 100644 --- a/net/sched/em_meta.c +++ b/net/sched/em_meta.c @@ -176,7 +176,7 @@ META_COLLECTOR(var_dev) META_COLLECTOR(int_vlan_tag) { - unsigned short tag; + unsigned short uninitialized_var(tag); if (vlan_get_tag(skb, &tag) < 0) *err = -1; else -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html