Skip to content

Commit 09f185a

Browse files
committed
Fix missing prototype psql warning.
1 parent 78bc83f commit 09f185a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/bin/psql/tab-complete.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static char * complete_from_list(char *text, int state);
6565

6666
static PGresult * exec_query(char * query);
6767
char * quote_file_name(char *text, int match_type, char * quote_pointer);
68-
//char * dequote_file_name(char *text, char quote_char);
68+
//static char * dequote_file_name(char *text, char quote_char);
6969
static char * previous_word(int point, int skip);
7070

7171
/* These variables are used to pass information into the completion functions.
@@ -793,7 +793,8 @@ char * quote_file_name(char *text, int match_type, char * quote_pointer)
793793
}
794794

795795

796-
char * dequote_file_name(char *text, char quote_char)
796+
#ifdef NOT_USED
797+
static char * dequote_file_name(char *text, char quote_char)
797798
{
798799
char *s;
799800
size_t length;
@@ -808,5 +809,6 @@ char * dequote_file_name(char *text, char quote_char)
808809

809810
return s;
810811
}
812+
#endif
811813

812814
#endif /* USE_READLINE */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy