Reacted on warning about unused variable if no readline is enabled
This commit is contained in:
parent
23a90ffcd1
commit
b384108557
@ -72,9 +72,10 @@ int Xorriso_dialog_input(struct XorrisO *xorriso, char line[], int linesize,
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
char *cpt= NULL, **argv= NULL, *linept, *why_append= "";
|
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
|
#ifdef Xorriso_with_readlinE
|
||||||
static char last_input[SfileadrL]= {""};
|
static char last_input[SfileadrL]= {""};
|
||||||
|
int no_history= 0;
|
||||||
#endif /* ! Xorriso_with_readlinE */
|
#endif /* ! Xorriso_with_readlinE */
|
||||||
double tdiff;
|
double tdiff;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
@ -86,7 +87,10 @@ int Xorriso_dialog_input(struct XorrisO *xorriso, char line[], int linesize,
|
|||||||
|
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
linept= line;
|
linept= line;
|
||||||
|
|
||||||
|
#ifdef Xorriso_with_readlinE
|
||||||
no_history= (flag & 1) || xorriso->use_stdin;
|
no_history= (flag & 1) || xorriso->use_stdin;
|
||||||
|
#endif
|
||||||
|
|
||||||
get_single:;
|
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