Alexandre Julliard : wrc: Remove an unused variable.
Alexandre Julliard
julliard at winehq.org
Mon Oct 28 15:13:04 CDT 2013
Module: wine
Branch: master
Commit: 54e0c7fe14671a6fefbe68251b7a958933d0e62f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=54e0c7fe14671a6fefbe68251b7a958933d0e62f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Oct 28 14:18:56 2013 +0100
wrc: Remove an unused variable.
---
tools/wrc/wrc.c | 3 ---
tools/wrc/wrc.h | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c
index ac1fdcc..8c376e0 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 a103ea36..74a65fe 100644
--- a/tools/wrc/wrc.h
+++ b/tools/wrc/wrc.h
@@ -21,8 +21,6 @@
#ifndef __WRC_WRC_H
#define __WRC_WRC_H
-#include <time.h> /* 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;
More information about the wine-cvs
mailing list