aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-10-01 12:31:52 +0000
committerJörg Mayer <jmayer@loplof.de>2004-10-01 12:31:52 +0000
commit54e0e363a95a6449f5e1c7d336a8f360d92777a3 (patch)
tree01e1e6229c5610b00899906a0f04ca19aee3a1aa /wiretap/ascend.c
parent88b9b09373f23f452d4b7a659ee97ab012e72b87 (diff)
Get rid of warnings about shadowed variables (code was ok)
svn path=/trunk/; revision=12171
Diffstat (limited to 'wiretap/ascend.c')
-rw-r--r--wiretap/ascend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/ascend.c b/wiretap/ascend.c
index 73c2202b74..b145afb6e4 100644
--- a/wiretap/ascend.c
+++ b/wiretap/ascend.c
@@ -104,7 +104,7 @@ static const char ascend_w2magic[] = { 'W', 'D', '_', 'D', 'I', 'A', 'L', 'O', '
static gboolean ascend_read(wtap *wth, int *err, gchar **err_info,
long *data_offset);
static gboolean ascend_seek_read(wtap *wth, long seek_off,
- union wtap_pseudo_header *pseudo_header, guint8 *pd, int len,
+ union wtap_pseudo_header *pseudo_head, guint8 *pd, int len,
int *err, gchar **err_info);
static void ascend_close(wtap *wth);
@@ -340,12 +340,12 @@ static gboolean ascend_read(wtap *wth, int *err, gchar **err_info,
}
static gboolean ascend_seek_read(wtap *wth, long seek_off,
- union wtap_pseudo_header *pseudo_header, guint8 *pd, int len,
+ union wtap_pseudo_header *pseudo_head, guint8 *pd, int len,
int *err, gchar **err_info)
{
if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1)
return FALSE;
- if (! parse_ascend(wth->random_fh, pd, &pseudo_header->ascend, NULL, len)) {
+ if (! parse_ascend(wth->random_fh, pd, &pseudo_head->ascend, NULL, len)) {
*err = WTAP_ERR_BAD_RECORD;
*err_info = g_strdup((ascend_parse_error != NULL) ? ascend_parse_error : "parse error");
return FALSE;