From: Stephen Hemminger Date: Thu, 17 Apr 2008 16:12:38 +0000 (-0700) Subject: In police, fix uninitialized "overhead" variable. X-Git-Tag: v2.6.25~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a5bd776a21044744d9229a6cee508691510da60;p=thirdparty%2Fiproute2.git In police, fix uninitialized "overhead" variable. Bug introduced by myself in an earlier patch series. Signed-off-by: Jesper Dangaard Brouer --- diff --git a/tc/m_police.c b/tc/m_police.c index 8fa63ad67..e55a8c9c1 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;