mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Build broken for gcc 4.5.1 in optimized mode.
readline.cc: In function char* batch_readline(LINE_BUFFER*): readline.cc:60:9: error: out_length may be used uninitialized in this function log.cc: In function int find_uniq_filename(char*): log.cc:1857:8: error: number may be used uninitialized in this function
This commit is contained in:
parent
c67a91f11a
commit
98adda5095
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ LINE_BUFFER *batch_readline_init(ulong max_size,FILE *file)
|
|||
char *batch_readline(LINE_BUFFER *line_buff)
|
||||
{
|
||||
char *pos;
|
||||
ulong out_length;
|
||||
ulong out_length= 0;
|
||||
|
||||
if (!(pos=intern_read_line(line_buff, &out_length)))
|
||||
return 0;
|
||||
|
|
|
@ -1854,7 +1854,7 @@ static void setup_windows_event_source()
|
|||
|
||||
static int find_uniq_filename(char *name)
|
||||
{
|
||||
long number;
|
||||
long number= 0;
|
||||
uint i;
|
||||
char buff[FN_REFLEN];
|
||||
struct st_my_dir *dir_info;
|
||||
|
|
Loading…
Reference in a new issue