Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Mar 2013 16:33:16 +0000 (UTC)
From:      Tim Kientzle <kientzle@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r248934 - head/sys/boot/fdt
Message-ID:  <201303301633.r2UGXGxc088970@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303301633.r2UGXGxc088970>