diff options
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/lookuprate.c | 2 | ||||
-rw-r--r-- | source4/torture/raw/tconrate.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/raw/lookuprate.c b/source4/torture/raw/lookuprate.c index f7ba004ae5..e4caf7b1be 100644 --- a/source4/torture/raw/lookuprate.c +++ b/source4/torture/raw/lookuprate.c @@ -237,7 +237,7 @@ bool torture_bench_lookup(struct torture_context *torture) NTSTATUS status; bool result = false; - int i, tries; + int i; struct smbcli_state *cli = NULL; if (!torture_open_connection(&cli, torture, 0)) { diff --git a/source4/torture/raw/tconrate.c b/source4/torture/raw/tconrate.c index 0109b65481..076e5be31f 100644 --- a/source4/torture/raw/tconrate.c +++ b/source4/torture/raw/tconrate.c @@ -29,7 +29,6 @@ #define TIME_LIMIT_SECS 30 #define usec_to_sec(s) ((s) / 1000000) -#define sec_to_usec(s) ((s) * 1000000) /* Map a shared memory buffer of at least nelem counters. */ static void * map_count_buffer(unsigned nelem, size_t elemsz) |