summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/comp_err.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c
index 4c40e70f5b7..9f7b47a1a1e 100644
--- a/extra/comp_err.c
+++ b/extra/comp_err.c
@@ -219,14 +219,13 @@ static void print_escaped_string(FILE *f, const char *str)
static int create_header_files(struct errors *error_head)
{
- uint er_last;
+ uint er_last= 0;
FILE *er_definef, *sql_statef, *er_namef;
struct errors *tmp_error;
struct message *er_msg;
const char *er_text;
DBUG_ENTER("create_header_files");
- LINT_INIT(er_last);
if (!(er_definef= my_fopen(HEADERFILE, O_WRONLY, MYF(MY_WME))))
{