Commit 015f69a7 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-14448 fixup: clang -Wunused-function

parent 648d2da8
...@@ -2018,11 +2018,13 @@ static int get_options(int argc, char **argv) ...@@ -2018,11 +2018,13 @@ static int get_options(int argc, char **argv)
return(0); return(0);
} }
#ifdef USE_LIBEDIT_INTERFACE
static inline void reset_prompt(char *in_string, bool *ml_comment) { static inline void reset_prompt(char *in_string, bool *ml_comment) {
glob_buffer.length(0); glob_buffer.length(0);
*ml_comment = false; *ml_comment = false;
*in_string = 0; *in_string = 0;
} }
#endif
static int read_and_execute(bool interactive) static int read_and_execute(bool interactive)
{ {
......
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