xt_psd: resolve compiler warning

xt_psd.c: In function "xt_psd_match":
xt_psd.c:253:27: warning: "tcph" may be used uninitialized in this
function [-Wuninitialized]
This commit is contained in:
Jan Engelhardt
2011-08-11 15:50:08 +02:00
parent 071c95b750
commit 01d864f4fc

View File

@@ -103,7 +103,7 @@ static bool
xt_psd_match(const struct sk_buff *pskb, struct xt_action_param *match)
{
const struct iphdr *iph;
const struct tcphdr *tcph;
const struct tcphdr *tcph = NULL;
const struct udphdr *udph;
union {
struct tcphdr tcph;