Commit 0ea4c73d authored by Sergey Vojtovich's avatar Sergey Vojtovich

Fixed compilation failure due to unused var.

parent 618e300b
...@@ -4898,11 +4898,11 @@ put_info(const char *str,INFO_TYPE info_type, uint error, const char *sqlstate) ...@@ -4898,11 +4898,11 @@ put_info(const char *str,INFO_TYPE info_type, uint error, const char *sqlstate)
{ {
if (!inited) if (!inited)
{ {
int errret;
inited=1;
#ifdef HAVE_SETUPTERM #ifdef HAVE_SETUPTERM
int errret;
have_curses= setupterm((char *)0, 1, &errret) != ERR; have_curses= setupterm((char *)0, 1, &errret) != ERR;
#endif #endif
inited=1;
} }
if (info_type == INFO_ERROR) if (info_type == INFO_ERROR)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment