diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-03-11 00:58:16 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-03-11 00:58:16 +0000 |
commit | 76a2df4a58b28ce370c4592db15e707524bc8242 (patch) | |
tree | 2113cccf699a4163b83c960db0e27e01dd2a5b2f /asn1/h248 | |
parent | e50663a09c49fb511cb728c6d04809c07cbb86d4 (diff) |
dont declare variables in the middle of a code block. many compilers do not like that.
svn path=/trunk/; revision=17573
Diffstat (limited to 'asn1/h248')
-rw-r--r-- | asn1/h248/packet-h248-template.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/asn1/h248/packet-h248-template.c b/asn1/h248/packet-h248-template.c index a3ec2e8297..34e65b5e9e 100644 --- a/asn1/h248/packet-h248-template.c +++ b/asn1/h248/packet-h248-template.c @@ -1143,6 +1143,11 @@ static h248_msg_t* h248_msg(packet_info* pinfo, int o) { h248_msg_t* m; guint32 framenum = (guint32)pinfo->fd->num; guint32 offset = (guint32)o; + address* src = &(pinfo->src); + address* dst = &(pinfo->dst); + address* lo_addr; + address* hi_addr; + if (keep_persistent_data) { se_tree_key_t key[] = { @@ -1169,11 +1174,6 @@ static h248_msg_t* h248_msg(packet_info* pinfo, int o) { m->commited = FALSE; } - address* src = &(pinfo->src); - address* dst = &(pinfo->dst); - address* lo_addr; - address* hi_addr; - if (CMP_ADDRESS(src, dst) < 0) { lo_addr = src; hi_addr = dst; |