aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-06 15:39:10 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-06 23:40:08 +0000
commitf520f82750d189476fe4c2bf95c58d12640e5068 (patch)
tree1d5c182defb372fde0b0d573977860276e18c94c /wiretap
parent9e60f2a080764c20089a8e3d3846a045e4417643 (diff)
Get rid of a bunch of unused variables.
("Unused" includes "set but not used".) Change-Id: Id67859b366e8caa50262f8530630ec4e8ef1507a Reviewed-on: https://code.wireshark.org/review/12457 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/ascend-int.h2
-rw-r--r--wiretap/ascend.y1
-rw-r--r--wiretap/ascend_scanner.l7
3 files changed, 1 insertions, 9 deletions
diff --git a/wiretap/ascend-int.h b/wiretap/ascend-int.h
index c88b665edd..049bf8599d 100644
--- a/wiretap/ascend-int.h
+++ b/wiretap/ascend-int.h
@@ -27,8 +27,6 @@
#include <glib.h>
#include "ws_symbol_export.h"
-extern int at_eof;
-
extern const gchar *ascend_parse_error;
/*
diff --git a/wiretap/ascend.y b/wiretap/ascend.y
index b59b811436..dc30a9e78f 100644
--- a/wiretap/ascend.y
+++ b/wiretap/ascend.y
@@ -434,7 +434,6 @@ datagroup: dataln
void
init_parse_ascend(void)
{
- at_eof = 0;
start_time = 0; /* we haven't see a date/time yet */
}
diff --git a/wiretap/ascend_scanner.l b/wiretap/ascend_scanner.l
index b7df4cb76a..950df9fd3d 100644
--- a/wiretap/ascend_scanner.l
+++ b/wiretap/ascend_scanner.l
@@ -48,14 +48,9 @@
#include "ascend_scanner_lex.h"
FILE_T yy_fh;
-extern char *ascend_ra_ptr;
-extern char *ascend_ra_last;
#define YY_INPUT(buf,result,max_size) { int c = file_getc(yy_fh); \
result = (c==EOF) ? YY_NULL : (buf[0] = c, 1); }
-int at_eof;
-int mul, scratch;
-
#define NO_USER "<none>"
#ifndef HAVE_UNISTD_H
@@ -332,7 +327,7 @@ WDD_TYPE "type "[^\n\r\t ]+
task:|task|at|time:|octets { return KEYWORD; }
-<<EOF>> { at_eof++; yyterminate(); }
+<<EOF>> { yyterminate(); }
(.|\n) ;