Browse Source

Reacted on warning about unused variable if no readline is enabled

master
Thomas Schmitt 9 years ago
parent
commit
712ecf55f8
  1. 6
      xorriso/text_io.c
  2. 2
      xorriso/xorriso_timestamp.h

6
xorriso/text_io.c

@ -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:;

2
xorriso/xorriso_timestamp.h

@ -1 +1 @@
#define Xorriso_timestamP "2013.11.17.120422"
#define Xorriso_timestamP "2013.11.18.140456"

Loading…
Cancel
Save