mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Bug #11766729 59906: 5.5 DEBUG BUILDS BROKEN BY EXTRA/COMP_ERR.C
extra/comp_err.c: Initialize er_last to zero (which is the correct value if we never enter the loop).
This commit is contained in:
parent
e86d90e72c
commit
e24f16a6cd
1 changed files with 1 additions and 2 deletions
|
@ -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))))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue