From 1a5bd776a21044744d9229a6cee508691510da60 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 17 Apr 2008 09:12:38 -0700 Subject: [PATCH] In police, fix uninitialized "overhead" variable. Bug introduced by myself in an earlier patch series. Signed-off-by: Jesper Dangaard Brouer --- tc/m_police.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tc/m_police.c b/tc/m_police.c index 8fa63ad6..e55a8c9c 100644 --- a/tc/m_police.c +++ b/tc/m_police.c @@ -133,7 +133,7 @@ int act_parse_police(struct action_util *a,int *argc_p, char ***argv_p, int tca_ __u32 avrate = 0; int presult = 0; unsigned buffer=0, mtu=0, mpu=0; - unsigned short overhead; + unsigned short overhead=0; int Rcell_log=-1, Pcell_log = -1; struct rtattr *tail;