diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-06-23 20:23:29 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-06-23 20:23:29 +0000 |
commit | dd6c6af3e4ae4fd27b9c552a45b27eb4f1ea2aa0 (patch) | |
tree | ec481f712992adf1227076d2f2ed550adf82df16 /epan/ftypes/ftype-bytes.c | |
parent | ee78dbb925737828923a466906c679f15d401c34 (diff) |
Rename some variables to avoid shadowing warnings.
svn path=/trunk/; revision=25543
Diffstat (limited to 'epan/ftypes/ftype-bytes.c')
-rw-r--r-- | epan/ftypes/ftype-bytes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/ftypes/ftype-bytes.c b/epan/ftypes/ftype-bytes.c index bc074c23a7..38cbb28253 100644 --- a/epan/ftypes/ftype-bytes.c +++ b/epan/ftypes/ftype-bytes.c @@ -476,7 +476,7 @@ static gboolean cmp_matches(fvalue_t *fv_a, fvalue_t *fv_b) { GString *a = fv_a->value.gstring; - pcre_tuple_t *pcre = fv_b->value.re; + pcre_tuple_t *pcre_t = fv_b->value.re; int options = 0; int rc; @@ -487,12 +487,12 @@ cmp_matches(fvalue_t *fv_a, fvalue_t *fv_b) if (strcmp(fv_b->ftype->name, "FT_PCRE") != 0) { return FALSE; } - if (! pcre) { + if (! pcre_t) { return FALSE; } rc = pcre_exec( - pcre->re, /* Compiled PCRE */ - pcre->ex, /* PCRE extra from pcre_study() */ + pcre_t->re, /* Compiled PCRE */ + pcre_t->ex, /* PCRE extra from pcre_study() */ a->str, /* The data to check for the pattern... */ a->len, /* ... and its length */ 0, /* Start offset within data */ |