Ingo Molnar 3ed7cc0f8b dccp: fix warning in net/dccp/options.c
this warning:

  net/dccp/options.c: In function ‘dccp_parse_options’:
  net/dccp/options.c:67: warning: ‘value’ may be used uninitialized in this function

is a bogus GCC warning. The compiler does not recognize the relation
between "value" and "mandatory" variables: the code flow can ever reach
the "out_invalid_option:" label if 'mandatory' is set to 1, and when
'mandatory' is non-zero, we'll always have 'value' initialized.

Help out the compiler by annotating the variable.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-25 16:57:30 -08:00
..
2008-11-19 22:42:41 -08:00
2008-11-03 18:21:05 -08:00
2008-11-25 01:02:08 -08:00
2008-11-03 18:21:05 -08:00
2008-09-30 03:03:35 -07:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-10-31 00:54:56 -07:00
2008-11-03 18:21:05 -08:00
2008-11-19 18:49:57 -08:00
2008-11-25 01:02:08 -08:00