aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-05-12 16:06:10 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-05-12 16:06:10 -0700
commitd7eb569f092913018934dc702ba22af295557cc9 (patch)
tree2d8985035c9d1acbeaa8ff7b9cc6788537009d0e /linux
parent8f1d81dd38e7cd49b686a9fd16d056fdd818b687 (diff)
downloadsyslinux-d7eb569f092913018934dc702ba22af295557cc9.tar.gz
syslinux-d7eb569f092913018934dc702ba22af295557cc9.tar.xz
syslinux-d7eb569f092913018934dc702ba22af295557cc9.zip
installers: fix warnings
CLean up warnings in the installers. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/syslinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/syslinux.c b/linux/syslinux.c
index 02323771..0ac9de92 100644
--- a/linux/syslinux.c
+++ b/linux/syslinux.c
@@ -329,7 +329,7 @@ int main(int argc, char *argv[])
char mntname[128];
char *ldlinux_name, **argp, *opt;
const char *subdir = NULL;
- uint32_t *sectors;
+ uint32_t *sectors = NULL;
int ldlinux_sectors;
int nsectors = 0;
const char *errmsg;