From 44194cc66378682a39f3694977101bf8f2a7a6f6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 3 Aug 2004 06:50:58 +0000 Subject: r1632: in case of error don't send uninitialised fnums on the wire (This used to be commit 13cd58efce8fc077c7c3ced99a82344766e20c5c) --- source4/torture/raw/oplock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/raw/oplock.c') diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index 1329f58fa9..6d6953354b 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -95,7 +95,7 @@ static BOOL test_oplock(struct cli_state *cli, TALLOC_CTX *mem_ctx) union smb_open io; struct smb_unlink unl; union smb_read rd; - uint16_t fnum, fnum2; + uint16_t fnum=0, fnum2=0; /* cleanup */ cli_unlink(cli->tree, fname); -- cgit