svn commit: r248934 - head/sys/boot/fdt

Tim Kientzle kientzle at FreeBSD.org
Sat Mar 30 16:33:16 UTC 2013


Author: kientzle
Date: Sat Mar 30 16:33:16 2013
New Revision: 248934
URL: http://svnweb.freebsd.org/changeset/base/248934

Log:
  Initialize sym_count to 0.
  
  This fixes a compiler warning introduced in r248121.

Modified:
  head/sys/boot/fdt/fdt_loader_cmd.c

Modified: head/sys/boot/fdt/fdt_loader_cmd.c
==============================================================================
--- head/sys/boot/fdt/fdt_loader_cmd.c	Sat Mar 30 15:09:04 2013	(r248933)
+++ head/sys/boot/fdt/fdt_loader_cmd.c	Sat Mar 30 16:33:16 2013	(r248934)
@@ -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);


More information about the svn-src-all mailing list