[ovs-dev] [PATCH 4/5] pinsched: Avoid uninitialized variable warning.

Ben Pfaff blp at nicira.com
Mon Dec 13 18:31:33 UTC 2010


On Sun, Dec 12, 2010 at 12:47:06PM -0800, Jesse Gross wrote:
> Some compilers warn about the variable 'n_longest' in drop_packet()
> being used uninitialized.  This isn't actually possible but explicitly
> set it to zero to avoid spurious warnings.

Looks good, thanks.




More information about the dev mailing list