fdformat: fix uninitialized variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Spotted by EKOPath compiler.

Signed-off-by: Francesco Cosoleto <cosoleto@xxxxxxxxx>
---
 disk-utils/fdformat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/disk-utils/fdformat.c b/disk-utils/fdformat.c
index 670242f..29782ec 100644
--- a/disk-utils/fdformat.c
+++ b/disk-utils/fdformat.c
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
 {
 	int ch;
 	int ctrl;
-	int verify;
+	int verify = 1;
 	struct stat st;
 
 	static const struct option longopts[] = {
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux