Skip to content
Snippets Groups Projects
Commit a959db8a authored by Andrew Dunstan's avatar Andrew Dunstan
Browse files

Fix compiler warning about unused function in non-readline case.

Backpatch to all live branches to keep the code in sync.
parent 80fa5421
No related branches found
Tags
No related merge requests found
......@@ -382,10 +382,10 @@ initializeInput(int flags)
*
* max_lines: if >= 0, limit history file to that many entries.
*/
#ifdef USE_READLINE
static bool
saveHistory(char *fname, int max_lines)
{
#ifdef USE_READLINE
int errnum;
/*
......@@ -450,10 +450,10 @@ saveHistory(char *fname, int max_lines)
psql_error("could not save history to file \"%s\": %s\n",
fname, strerror(errnum));
}
#endif
return false;
}
#endif
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment