linux/net/dccp
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
..
ccids
ackvec.c dccp: Set per-connection CCIDs via socket options 2008-11-23 16:02:31 -08:00
ackvec.h dccp: Set per-connection CCIDs via socket options 2008-11-23 16:02:31 -08:00
ccid.c
ccid.h dccp: API to query the current TX/RX CCID 2008-11-23 16:04:59 -08:00
dccp.h dccp: Deprecate Ack Ratio sysctl 2008-11-16 22:55:08 -08:00
diag.c net: inet_diag_handler structs can be const 2008-11-19 15:43:27 -08:00
feat.c dccp: Fix bracing in dccp_feat_list_lookup. 2008-11-20 01:03:08 -08:00
feat.h dccp: Header option insertion routine for feature-negotiation 2008-11-23 16:10:23 -08:00
input.c
ipv4.c net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls 2008-11-16 19:40:17 -08:00
ipv6.c net: Convert TCP & DCCP hash tables to use RCU / hlist_nulls 2008-11-16 19:40:17 -08:00
ipv6.h
Kconfig
Makefile
minisocks.c dccp: Deprecate Ack Ratio sysctl 2008-11-16 22:55:08 -08:00
options.c dccp: fix warning in net/dccp/options.c 2008-11-25 16:57:30 -08:00
output.c dccp: Mechanism to resolve CCID dependencies 2008-11-16 22:49:52 -08:00
probe.c dccp: API to query the current TX/RX CCID 2008-11-23 16:04:59 -08:00
proto.c dccp: API to query the current TX/RX CCID 2008-11-23 16:04:59 -08:00
sysctl.c dccp: Deprecate Ack Ratio sysctl 2008-11-16 22:55:08 -08:00
timer.c