1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #45286: compilation warnings on mysql-5.0-bugteam on MacOSX

Implemented a way to circumvent the always true comparison by
having nested macros (as suggested on review).
This commit is contained in:
Georgi Kodinov
2009-06-05 18:14:56 +03:00
parent 5ec61b304c
commit 5db8276fe3
2 changed files with 3 additions and 2 deletions

View File

@ -1888,7 +1888,7 @@ rl_character_len (c, pos)
uc = (unsigned char)c;
if (META_CHAR (c))
if (META_BYTE (uc))
return ((_rl_output_meta_chars == 0) ? 4 : 1);
if (uc == '\t')