diff options
author | kientzle <kientzle@FreeBSD.org> | 2013-03-30 16:33:16 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2013-03-30 16:33:16 +0000 |
commit | 01d37a71648e60e95d1167c0f565d104fe457dcf (patch) | |
tree | 27d62b3788bb9976607e1300fb63c6ec13be453d /sys/boot/fdt/fdt_loader_cmd.c | |
parent | 4c77a4b02002f12c25fd62ab966d50264a354520 (diff) | |
download | FreeBSD-src-01d37a71648e60e95d1167c0f565d104fe457dcf.zip FreeBSD-src-01d37a71648e60e95d1167c0f565d104fe457dcf.tar.gz |
Initialize sym_count to 0.
This fixes a compiler warning introduced in r248121.
Diffstat (limited to 'sys/boot/fdt/fdt_loader_cmd.c')
-rw-r--r-- | sys/boot/fdt/fdt_loader_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/fdt/fdt_loader_cmd.c b/sys/boot/fdt/fdt_loader_cmd.c index b32fddf..81709ec 100644 --- a/sys/boot/fdt/fdt_loader_cmd.c +++ b/sys/boot/fdt/fdt_loader_cmd.c @@ -128,7 +128,7 @@ fdt_find_static_dtb() char *strp; int i, sym_count; - symtab = strtab = 0; + sym_count = symtab = strtab = 0; strp = NULL; offs = __elfN(relocation_offset); |