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 dccp: Registration routines for changing feature values 2008-11-12 00:43:40 -08:00
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 dccp: Query supported CCIDs 2008-11-12 00:47:26 -08:00
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 dccp: Per-socket initialisation of feature negotiation 2008-11-04 23:55:49 -08:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
Makefile This reverts "Merge branch 'dccp' of git://eden-feed.erg.abdn.ac.uk/dccp_exp" 2008-09-09 13:27:22 +02:00
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 dccp: Limit feature negotiation to connection setup phase 2008-11-12 00:42:58 -08:00