mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
cmake: re-enable -Werror in the maintainer mode
now we can afford it. Fix -Werror errors. Note: * old gcc is bad at detecting uninit variables, disable it. * time_t is int or long, cast it for printf's
This commit is contained in:
@ -356,7 +356,7 @@ void mdev17133()
|
||||
// random size 2nd read
|
||||
res= my_b_read(&info, buf_i + total + MY_MIN(19, curr_read_size),
|
||||
19 >= curr_read_size ? 0 : curr_read_size - 19);
|
||||
ok(res == 0, "rest of read %lu", curr_read_size - 19);
|
||||
ok(res == 0, "rest of read %zu", curr_read_size - 19);
|
||||
// mark read bytes in the used part of the cache buffer
|
||||
memset(info.buffer, 0, info.read_pos - info.buffer);
|
||||
|
||||
|
Reference in New Issue
Block a user