From 4183b2ac3832cdc2055d7eb3ed7121a9ea91085c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 2 Dec 2004 04:51:56 +0000 Subject: r4037: fixed a bunch of "might be uninitialised" warnings after enabling -O1 in my compile (This used to be commit 0928b1f5b68c858922c3ea6c27ed03b5091c6221) --- source4/torture/basic/denytest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/basic/denytest.c') diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c index 70d7a2b2a1..7979778c3f 100644 --- a/source4/torture/basic/denytest.c +++ b/source4/torture/basic/denytest.c @@ -1968,7 +1968,7 @@ BOOL torture_denydos_sharing(void) union smb_fileinfo finfo; const char *fname = "\\torture_denydos.txt"; NTSTATUS status; - int fnum1, fnum2; + int fnum1 = -1, fnum2 = -1; BOOL ret = True; union smb_setfileinfo sfinfo; TALLOC_CTX *mem_ctx; -- cgit