diff options
author | serg@serg.mylan <> | 2006-01-03 17:54:54 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2006-01-03 17:54:54 +0100 |
commit | 14f94dc0cad1419e74047956c059c1cf9c3e7a2c (patch) | |
tree | 2c671047ec7c4161ca04e53f5f54c6797f81afd4 /server-tools | |
parent | 04cff0d055fd63d7f0a9395478171e735799f30b (diff) | |
download | mariadb-git-14f94dc0cad1419e74047956c059c1cf9c3e7a2c.tar.gz |
many warnings (practically safe but annoying) corrected
Diffstat (limited to 'server-tools')
-rw-r--r-- | server-tools/instance-manager/parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-tools/instance-manager/parse.cc b/server-tools/instance-manager/parse.cc index d83af2b9cf0..a79a6ad6742 100644 --- a/server-tools/instance-manager/parse.cc +++ b/server-tools/instance-manager/parse.cc @@ -107,7 +107,7 @@ Token shift_token(const char **text, uint *word_len) int get_text_id(const char **text, uint *word_len, const char **id) { get_word(text, word_len); - if (word_len == 0) + if (*word_len == 0) return 1; *id= *text; return 0; |