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>
This commit is contained in:
parent
9e60f2a080
commit
f520f82750
|
@ -27,8 +27,6 @@
|
|||
#include <glib.h>
|
||||
#include "ws_symbol_export.h"
|
||||
|
||||
extern int at_eof;
|
||||
|
||||
extern const gchar *ascend_parse_error;
|
||||
|
||||
/*
|
||||
|
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
@ -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) ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue