Commit 912c9c68 authored by Niels Möller's avatar Niels Möller
Browse files

* src/werror.c (logfile_flag): Deleted global variable.

Rev: src/werror.c:1.60
Rev: src/werror.h:1.28
parent 4f3defe7
......@@ -56,7 +56,6 @@ int trace_flag = 0;
int debug_flag = 0;
int quiet_flag = 0;
int verbose_flag = 0;
int logfile_flag = 0;
static const char *program_name = NULL;
......@@ -111,10 +110,7 @@ werror_argp_parser(int key, char *arg,
if (fd < 0)
argp_error(state, "Failed to open log file `%s'.", arg);
else
{
set_error_stream(fd);
logfile_flag = 1;
}
set_error_stream(fd);
}
}
return 0;
......
......@@ -36,7 +36,6 @@ extern int trace_flag;
extern int debug_flag;
extern int quiet_flag;
extern int verbose_flag;
extern int logfile_flag;
extern const struct argp werror_argp;
......
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