commit | fcbd0165fcf6d0efdfb02220ac77342ce0c0e224 | [log] [tgz] |
---|---|---|
author | Thomas Jarosch <thomas.jarosch@intra2net.com> | Wed Nov 23 22:15:19 2011 +0100 |
committer | Stephen Hemminger <shemminger@vyatta.com> | Wed Nov 23 14:46:24 2011 -0800 |
tree | f81ca0cd5ad667335d14b6b8fe56cf02e3c66f0d | |
parent | a3da01c519ed13714ad80be3a771e81ae10ea835 [diff] |
tc: Use correct variable type for get_distribution() result get_distribution() returns an int. cppcheck reported: [tc/q_netem.c:243]: (style) Checking if unsigned variable 'dist_size' is less than zero. The mismatch actually rendered the error checking after get_distribution() ineffective. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>