summaryrefslogtreecommitdiff
path: root/com32/elflink
diff options
context:
space:
mode:
Diffstat (limited to 'com32/elflink')
-rw-r--r--com32/elflink/ldlinux/get_key.c2
-rw-r--r--com32/elflink/ldlinux/kernel.c1
-rw-r--r--com32/elflink/ldlinux/ldlinux.c1
-rw-r--r--com32/elflink/ldlinux/readconfig.c2
4 files changed, 1 insertions, 5 deletions
diff --git a/com32/elflink/ldlinux/get_key.c b/com32/elflink/ldlinux/get_key.c
index f6e16e99..5841d022 100644
--- a/com32/elflink/ldlinux/get_key.c
+++ b/com32/elflink/ldlinux/get_key.c
@@ -149,7 +149,7 @@ int get_key_decode(char *buffer, int nc, int *code)
int get_key(FILE * f, clock_t timeout)
{
char buffer[KEY_MAXLEN];
- int nc, i, rv;
+ int nc, rv;
int another;
char ch;
clock_t start;
diff --git a/com32/elflink/ldlinux/kernel.c b/com32/elflink/ldlinux/kernel.c
index 66c4480e..62eec75e 100644
--- a/com32/elflink/ldlinux/kernel.c
+++ b/com32/elflink/ldlinux/kernel.c
@@ -23,7 +23,6 @@ int new_linux_kernel(char *okernel, char *ocmdline)
bool opt_quiet = false;
char initrd_name[256];
char cmdline_buf[256], *cmdline;
- int i;
dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline);
diff --git a/com32/elflink/ldlinux/ldlinux.c b/com32/elflink/ldlinux/ldlinux.c
index 55886be9..8e15a787 100644
--- a/com32/elflink/ldlinux/ldlinux.c
+++ b/com32/elflink/ldlinux/ldlinux.c
@@ -116,7 +116,6 @@ static void enter_cmdline(void)
int main(int argc, char **argv)
{
- com32sys_t ireg, oreg;
const void *adv;
size_t count = 0;
char *config_argv[2] = { NULL, NULL };
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index d3106628..70fe3461 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -1147,7 +1147,6 @@ do_include:
loadfont(KernelName);
refstr_put(filename);
} else if (looking_at(p, "kbdmap")) {
- com32sys_t reg;
const char *filename;
char *dst = KernelName;
size_t len = FILENAME_MAX - 1;
@@ -1192,7 +1191,6 @@ do_include:
/* serial setting, bps, flow control */
else if (looking_at(p, "serial")) {
- com32sys_t ireg;
uint16_t port, flow;
uint32_t baud;