diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-12 23:40:49 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-12 23:40:49 +0000 |
commit | 4b1fe1b8669176ad87c1b4180f5ab36d3fc54118 (patch) | |
tree | a6f75f116bd2344b1d4fcaaed340331a50b3fffc /mdk-stage1 | |
parent | 9b5c7eb0fd809a8805c2432e0a5252972452fd12 (diff) | |
download | drakx-backup-do-not-use-4b1fe1b8669176ad87c1b4180f5ab36d3fc54118.tar drakx-backup-do-not-use-4b1fe1b8669176ad87c1b4180f5ab36d3fc54118.tar.gz drakx-backup-do-not-use-4b1fe1b8669176ad87c1b4180f5ab36d3fc54118.tar.bz2 drakx-backup-do-not-use-4b1fe1b8669176ad87c1b4180f5ab36d3fc54118.tar.xz drakx-backup-do-not-use-4b1fe1b8669176ad87c1b4180f5ab36d3fc54118.zip |
compile with -W
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/stdio-frontend.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mdk-stage1/stdio-frontend.c b/mdk-stage1/stdio-frontend.c index 3fbed999a..0a0b0090e 100644 --- a/mdk-stage1/stdio-frontend.c +++ b/mdk-stage1/stdio-frontend.c @@ -57,7 +57,8 @@ static void get_any_response(void) static int get_int_response(void) { char s[50]; - int j = 0, i = 0; /* (0) tied to Cancel */ + int j = 0; + unsigned int i = 0; /* (0) tied to Cancel */ fflush(stdout); read(0, &(s[i++]), 1); fcntl(0, F_SETFL, O_NONBLOCK); @@ -330,7 +331,7 @@ enum return_type ask_yes_no(char *msg) } -enum return_type ask_from_entries(char *msg, char ** questions, char *** answers, int entry_size, void (*callback_func)(char ** strings)) +enum return_type ask_from_entries(char *msg, char ** questions, char *** answers, int entry_size __attribute__ ((unused)), void (*callback_func)(char ** strings) __attribute__ ((unused))) { int j, i = 0; char ** already_answers = NULL; |