[Midnightbsd-cvs] src [7599] trunk/sbin/ggate/shared/ggate.c: init to 0
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat May 28 17:34:50 EDT 2016
Revision: 7599
http://svnweb.midnightbsd.org/src/?rev=7599
Author: laffer1
Date: 2016-05-28 17:34:50 -0400 (Sat, 28 May 2016)
Log Message:
-----------
init to 0
Modified Paths:
--------------
trunk/sbin/ggate/shared/ggate.c
Modified: trunk/sbin/ggate/shared/ggate.c
===================================================================
--- trunk/sbin/ggate/shared/ggate.c 2016-05-28 21:34:29 UTC (rev 7598)
+++ trunk/sbin/ggate/shared/ggate.c 2016-05-28 21:34:50 UTC (rev 7599)
@@ -152,7 +152,7 @@
unsigned
g_gate_sectorsize(int fd)
{
- unsigned secsize;
+ unsigned secsize = 0;
struct stat sb;
if (fstat(fd, &sb) == -1)
More information about the Midnightbsd-cvs
mailing list