mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
MDEV-6650 - LINT_INIT emits code in non-debug builds
Replaced all references to LINT_INIT with UNINIT_VAR and LINT_INIT_STRUCT. Removed LINT_INIT macro.
This commit is contained in:
parent
10554ca6cb
commit
18e9c314e4
59 changed files with 87 additions and 214 deletions
|
|
@ -57,8 +57,7 @@ LINE_BUFFER *batch_readline_init(ulong max_size,FILE *file)
|
|||
char *batch_readline(LINE_BUFFER *line_buff, bool binary_mode)
|
||||
{
|
||||
char *pos;
|
||||
ulong out_length;
|
||||
LINT_INIT(out_length);
|
||||
ulong UNINIT_VAR(out_length);
|
||||
|
||||
if (!(pos=intern_read_line(line_buff, &out_length)))
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue