Fix -Wshadow warnings

Checked that it is supported by gcc 4.2.1 (FreeBSD 9).

fixes #240
This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-27 12:02:40 +02:00
parent 4d04cdcd12
commit ea35666f50
7 changed files with 28 additions and 29 deletions

View file

@ -389,7 +389,7 @@ void update_dropped( const packet *p )
while( cur < end )
{
size_t len = ( ( cur[11] << 8 ) | cur[12] ) + 13;
len = ( ( cur[11] << 8 ) | cur[12] ) + 13;
id = len % sizeof( dropped );
++dropped[id];