diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2016-04-23 12:15:18 +0400 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-04-25 16:10:57 -0400 |
commit | 43e19b3fc8cb2a0d4a726c3ea822a369e60c5adc (patch) | |
tree | 887b3c5f297797aa6d867ff9f72cbc2711f816e1 | |
parent | 4f1c1975b5f3d98321ad9e5b6f952c166d3606a7 (diff) | |
download | mariadb-git-mariadb-galera-5.5.49.tar.gz |
Fixed compilation failure due to unused var.mariadb-galera-5.5.49
-rw-r--r-- | client/mysql.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 43c09cafe9e..9d255b55430 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -4898,11 +4898,11 @@ put_info(const char *str,INFO_TYPE info_type, uint error, const char *sqlstate) { if (!inited) { - int errret; - inited=1; #ifdef HAVE_SETUPTERM + int errret; have_curses= setupterm((char *)0, 1, &errret) != ERR; #endif + inited=1; } if (info_type == INFO_ERROR) { |