Commit 54e0c7fe authored by Alexandre Julliard's avatar Alexandre Julliard

wrc: Remove an unused variable.

parent f775f3e1
...@@ -157,7 +157,6 @@ int line_number = 1; /* The current line */ ...@@ -157,7 +157,6 @@ int line_number = 1; /* The current line */
int char_number = 1; /* The current char pos within the line */ int char_number = 1; /* The current char pos within the line */
char *cmdline; /* The entire commandline */ char *cmdline; /* The entire commandline */
time_t now; /* The time of start of wrc */
int parser_debug, yy_flex_debug; int parser_debug, yy_flex_debug;
...@@ -348,8 +347,6 @@ int main(int argc,char *argv[]) ...@@ -348,8 +347,6 @@ int main(int argc,char *argv[])
signal( SIGHUP, exit_on_signal ); signal( SIGHUP, exit_on_signal );
#endif #endif
now = time(NULL);
/* Set the default defined stuff */ /* Set the default defined stuff */
set_version_defines(); set_version_defines();
wpp_add_cmdline_define("RC_INVOKED=1"); wpp_add_cmdline_define("RC_INVOKED=1");
......
...@@ -21,8 +21,6 @@ ...@@ -21,8 +21,6 @@
#ifndef __WRC_WRC_H #ifndef __WRC_WRC_H
#define __WRC_WRC_H #define __WRC_WRC_H
#include <time.h> /* For time_t */
#include "wrctypes.h" #include "wrctypes.h"
/* From wrc.c */ /* From wrc.c */
...@@ -47,7 +45,6 @@ extern int check_utf8; ...@@ -47,7 +45,6 @@ extern int check_utf8;
extern char *input_name; extern char *input_name;
extern char *cmdline; extern char *cmdline;
extern time_t now;
extern int line_number; extern int line_number;
extern int char_number; extern int char_number;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment