aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk/e820func.c
diff options
context:
space:
mode:
authorhpa <hpa>2001-12-13 05:27:15 +0000
committerhpa <hpa>2001-12-13 05:27:15 +0000
commit610b4664403375b2fa55abaf4f605868f9b21731 (patch)
treeeaaa5cab147c07e2d3a9ca030f36603ac5a5e351 /memdisk/e820func.c
parent6b190cc5cf21708b6aacc50c9050e074f67bed90 (diff)
downloadsyslinux.git-610b4664403375b2fa55abaf4f605868f9b21731.tar.gz
syslinux.git-610b4664403375b2fa55abaf4f605868f9b21731.tar.xz
syslinux.git-610b4664403375b2fa55abaf4f605868f9b21731.zip
Fix the command-line parser, compile with -Wall
Diffstat (limited to 'memdisk/e820func.c')
-rw-r--r--memdisk/e820func.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memdisk/e820func.c b/memdisk/e820func.c
index 4d0ec150..3087d33e 100644
--- a/memdisk/e820func.c
+++ b/memdisk/e820func.c
@@ -52,7 +52,7 @@ static void insertrange_at(int where, uint64_t start, uint32_t type)
void insertrange(uint64_t start, uint64_t len, uint32_t type)
{
- uint64_t newstart, last;
+ uint64_t last;
uint32_t oldtype;
int i, j;