Reacted on warning about unused variable if no readline is enabled
This commit is contained in:
parent
22c6f2cb15
commit
712ecf55f8
@ -72,9 +72,10 @@ int Xorriso_dialog_input(struct XorrisO *xorriso, char line[], int linesize,
|
||||
*/
|
||||
{
|
||||
char *cpt= NULL, **argv= NULL, *linept, *why_append= "";
|
||||
int ret, argc= 0, base_length= 0, l, append_line, no_history= 0;
|
||||
int ret, argc= 0, base_length= 0, l, append_line;
|
||||
#ifdef Xorriso_with_readlinE
|
||||
static char last_input[SfileadrL]= {""};
|
||||
int no_history= 0;
|
||||
#endif /* ! Xorriso_with_readlinE */
|
||||
double tdiff;
|
||||
struct timeval tv;
|
||||
@ -86,7 +87,10 @@ int Xorriso_dialog_input(struct XorrisO *xorriso, char line[], int linesize,
|
||||
|
||||
fflush(stdout);
|
||||
linept= line;
|
||||
|
||||
#ifdef Xorriso_with_readlinE
|
||||
no_history= (flag & 1) || xorriso->use_stdin;
|
||||
#endif
|
||||
|
||||
get_single:;
|
||||
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2013.11.17.120422"
|
||||
#define Xorriso_timestamP "2013.11.18.140456"
|
||||
|
Loading…
Reference in New Issue
Block a user