From 54e0c7fe14671a6fefbe68251b7a958933d0e62f Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 28 Oct 2013 14:18:56 +0100 Subject: [PATCH] wrc: Remove an unused variable. --- tools/wrc/wrc.c | 3 --- tools/wrc/wrc.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c index ac1fdccca44..8c376e01478 100644 --- a/tools/wrc/wrc.c +++ b/tools/wrc/wrc.c @@ -157,7 +157,6 @@ int line_number = 1; /* The current line */ int char_number = 1; /* The current char pos within the line */ char *cmdline; /* The entire commandline */ -time_t now; /* The time of start of wrc */ int parser_debug, yy_flex_debug; @@ -348,8 +347,6 @@ int main(int argc,char *argv[]) signal( SIGHUP, exit_on_signal ); #endif - now = time(NULL); - /* Set the default defined stuff */ set_version_defines(); wpp_add_cmdline_define("RC_INVOKED=1"); diff --git a/tools/wrc/wrc.h b/tools/wrc/wrc.h index a103ea363ff..74a65fe66b7 100644 --- a/tools/wrc/wrc.h +++ b/tools/wrc/wrc.h @@ -21,8 +21,6 @@ #ifndef __WRC_WRC_H #define __WRC_WRC_H -#include /* For time_t */ - #include "wrctypes.h" /* From wrc.c */ @@ -47,7 +45,6 @@ extern int check_utf8; extern char *input_name; extern char *cmdline; -extern time_t now; extern int line_number; extern int char_number;