util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fdformat: fix uninitialized variable
@ 2011-09-10 17:06 Francesco Cosoleto
  2011-09-12 12:04 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Francesco Cosoleto @ 2011-09-10 17:06 UTC (permalink / raw)
  To: util-linux; +Cc: Francesco Cosoleto

Spotted by EKOPath compiler.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: fdformat: fix uninitialized variable
  2011-09-10 17:06 fdformat: fix uninitialized variable Francesco Cosoleto
@ 2011-09-12 12:04 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2011-09-12 12:04 UTC (permalink / raw)
  To: Francesco Cosoleto; +Cc: util-linux

On Sat, Sep 10, 2011 at 07:06:09PM +0200, Francesco Cosoleto wrote:
>  disk-utils/fdformat.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

 Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-12 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-10 17:06 fdformat: fix uninitialized variable Francesco Cosoleto
2011-09-12 12:04 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).