diff options
author | Tim Prouty <tprouty@samba.org> | 2009-03-12 16:51:20 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-03-12 16:51:20 -0700 |
commit | bace42d586f2e4364e5b66ccc80a0b19749b5e1c (patch) | |
tree | dcc8cc8e908d25bca075e01daf0835f744bc89ed /source3 | |
parent | b6616ca8dc263da648b980ed7f18d88f850293d0 (diff) | |
download | samba-bace42d586f2e4364e5b66ccc80a0b19749b5e1c.tar.gz samba-bace42d586f2e4364e5b66ccc80a0b19749b5e1c.tar.bz2 samba-bace42d586f2e4364e5b66ccc80a0b19749b5e1c.zip |
s3 torture: Fix unitialized variable to avoid closing a random fnum
Diffstat (limited to 'source3')
-rw-r--r-- | source3/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 10e541f384..64dfb5224c 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -4160,7 +4160,7 @@ static bool run_simple_posix_open_test(int dummy) const char *dname = "\\posix.dir"; uint16 major, minor; uint32 caplow, caphigh; - int fnum1; + int fnum1 = -1; bool correct = false; printf("Starting simple POSIX open test\n"); |