mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fixed compilation failure due to unused var.
This commit is contained in:
parent
4f1c1975b5
commit
43e19b3fc8
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue