summaryrefslogtreecommitdiff
path: root/wiretap/ascend.y
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-05-16 20:25:44 +0000
committerGuy Harris <guy@alum.mit.edu>2013-05-16 20:25:44 +0000
commit78ee09dfeb2396a26616c4f586464ea69d37c16e (patch)
tree472c99e48dea5be53df0b82d11b81c7f9c5c4650 /wiretap/ascend.y
parent3f2d89a64f0ea4775ded2cbc35d1d335a833d0a1 (diff)
downloadwireshark-78ee09dfeb2396a26616c4f586464ea69d37c16e.tar.gz
Get rid of unused global variable.
svn path=/trunk/; revision=49341
Diffstat (limited to 'wiretap/ascend.y')
-rw-r--r--wiretap/ascend.y4
1 files changed, 1 insertions, 3 deletions
diff --git a/wiretap/ascend.y b/wiretap/ascend.y
index 2f49403a9c..6e1f36f8e3 100644
--- a/wiretap/ascend.y
+++ b/wiretap/ascend.y
@@ -149,7 +149,6 @@ const gchar *ascend_parse_error;
static unsigned int bcur;
static guint32 start_time, secs, usecs, caplen, wirelen;
-static ascend_pkthdr *header;
struct ascend_phdr *pseudo_header;
static guint8 *pkt_data;
static gint64 first_hexbyte;
@@ -448,14 +447,13 @@ init_parse_ascend(void)
PARSE_FAILED if the parser failed. */
parse_t
parse_ascend(FILE_T fh, guint8 *pd, struct ascend_phdr *phdr,
- ascend_pkthdr *hdr, gint64 *start_of_data)
+ ascend_pkthdr *header, gint64 *start_of_data)
{
/* yydebug = 1; */
int retval;
ascend_init_lexer(fh);
pkt_data = pd;
pseudo_header = phdr;
- header = hdr;
bcur = 0;
first_hexbyte = 0;