diff options
author | Tor Didriksen <tor.didriksen@oracle.com> | 2011-11-29 15:52:47 +0100 |
---|---|---|
committer | Tor Didriksen <tor.didriksen@oracle.com> | 2011-11-29 15:52:47 +0100 |
commit | 98adda50958504db0439ad6c72c96d663fb99bec (patch) | |
tree | 47035ce169ceb8b487b1f03d3782da3c4612863d /client | |
parent | c67a91f11afd730ab050e3c5da16411b95c325a7 (diff) | |
download | mariadb-git-98adda50958504db0439ad6c72c96d663fb99bec.tar.gz |
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
Diffstat (limited to 'client')
-rw-r--r-- | client/readline.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/readline.cc b/client/readline.cc index 0f3fab7e43d..7765a62766f 100644 --- a/client/readline.cc +++ b/client/readline.cc @@ -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; |