summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-01-09 11:41:51 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-01-12 20:38:02 +0100
commit3b78fcff5a608de8eb1b0ddd92adc8e0aaeb689d (patch)
tree40202345799530b6ba910b1112b061e22f792cec /source4/torture/nbench
parentaa759de6b3ee7766925c0e713253bf01f30967e5 (diff)
downloadsamba-3b78fcff5a608de8eb1b0ddd92adc8e0aaeb689d.tar.gz
samba-3b78fcff5a608de8eb1b0ddd92adc8e0aaeb689d.tar.bz2
samba-3b78fcff5a608de8eb1b0ddd92adc8e0aaeb689d.zip
s4:torture/nbench/nbench.c - initialise "n"
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Jan 12 20:38:02 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r--source4/torture/nbench/nbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/nbench/nbench.c b/source4/torture/nbench/nbench.c
index b0e3364f7e..71a319f1fa 100644
--- a/source4/torture/nbench/nbench.c
+++ b/source4/torture/nbench/nbench.c
@@ -63,7 +63,7 @@ static bool run_netbench(struct torture_context *tctx, struct smbcli_state *cli,
FILE *f;
bool correct = true;
double target_rate = torture_setting_double(tctx, "targetrate", 0);
- int n;
+ int n = 0;
if (target_rate != 0 && client == 0) {
printf("Targetting %.4f MByte/sec\n", target_rate);