From 3b78fcff5a608de8eb1b0ddd92adc8e0aaeb689d Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 9 Jan 2011 11:41:51 +0100 Subject: s4:torture/nbench/nbench.c - initialise "n" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Wed Jan 12 20:38:02 CET 2011 on sn-devel-104 --- source4/torture/nbench/nbench.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/nbench/nbench.c b/source4/torture/nbench/nbench.c index b0e3364f7e8..71a319f1fad 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); -- cgit