Skip to content

Commit 015f69a

Browse files
committed
MDEV-14448 fixup: clang -Wunused-function
1 parent 648d2da commit 015f69a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client/mysql.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,11 +2018,13 @@ static int get_options(int argc, char **argv)
20182018
return(0);
20192019
}
20202020

2021+
#ifdef USE_LIBEDIT_INTERFACE
20212022
static inline void reset_prompt(char *in_string, bool *ml_comment) {
20222023
glob_buffer.length(0);
20232024
*ml_comment = false;
20242025
*in_string = 0;
20252026
}
2027+
#endif
20262028

20272029
static int read_and_execute(bool interactive)
20282030
{

0 commit comments

Comments
 (0)