netfilter: fix warning in net/netfilter/nf_conntrack_ftp.c
commitd6e8cc6cc7ac77b0f9118f78c453a2e834e62709
authorIngo Molnar <mingo@elte.hu>
Tue, 25 Nov 2008 17:23:03 +0000 (25 18:23 +0100)
committerPatrick McHardy <kaber@trash.net>
Tue, 25 Nov 2008 17:23:03 +0000 (25 18:23 +0100)
tree3c02d79e8783f740f32950cade1177c1ee407e1b
parent65f233fb1669e6c990cd1d7fd308ac7dc66dc207
netfilter: fix warning in net/netfilter/nf_conntrack_ftp.c

this warning:

  net/netfilter/nf_conntrack_ftp.c: In function 'help':
  net/netfilter/nf_conntrack_ftp.c:360: warning: 'matchoff' may be used uninitialized in this function
  net/netfilter/nf_conntrack_ftp.c:360: warning: 'matchlen' may be used uninitialized in this function

triggers because GCC does not recognize the (correct) error flow
between find_pattern(), 'found', 'matchoff' and 'matchlen'.

Annotate it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_ftp.c