fish: ps_restore is only used when HAVE_LIBREADLINE is defined.

Thanks: Keresztes Péter-Zoltán
This commit is contained in:
Richard W.M. Jones
2015-11-24 11:14:37 +00:00
parent fd2f175ee7
commit e49680bdd6

View File

@@ -645,8 +645,8 @@ shell_script (void)
static char *ps1 = NULL; /* GUESTFISH_PS1 */
static char *ps_output = NULL; /* GUESTFISH_OUTPUT */
static char *ps_init = NULL; /* GUESTFISH_INIT */
#endif /* HAVE_LIBREADLINE */
static char *ps_restore = NULL; /* GUESTFISH_RESTORE */
#endif /* HAVE_LIBREADLINE */
static char *line_read = NULL;
static char *