Message ID | mlr8r4$mi6$1@ger.gmane.org |
---|---|
State | New |
Headers | show |
On 17 June 2015 at 13:19, Stefan Liebler <stli@linux.vnet.ibm.com> wrote: > 2015-06-17 Stefan Liebler <stli@linux.vnet.ibm.com> > > * benchtests/bench-strcoll.c: > Include string.h. > (main): Remove unused variable res. Thanks, looks good to me. Siddhesh
On Wed, Jun 17, 2015 at 09:49:55AM +0200, Stefan Liebler wrote: > 2015-06-17 Stefan Liebler <stli@linux.vnet.ibm.com> > > * benchtests/bench-strcoll.c: > Include string.h. > (main): Remove unused variable res. Applied. Thanks! -Andreas-
diff --git a/benchtests/bench-strcoll.c b/benchtests/bench-strcoll.c index c3d9a08..ded04a6 100644 --- a/benchtests/bench-strcoll.c +++ b/benchtests/bench-strcoll.c @@ -24,6 +24,7 @@ #include <unistd.h> #include "json-lib.h" #include "bench-timing.h" +#include <string.h> /* Many thanks to http://generator.lorem-ipsum.info/ */ #define INPUT_PREFIX "strcoll-inputs/" @@ -234,9 +235,6 @@ bench_file (json_ctx_t *json_ctx, const char *testname, const char *filename, int main (void) { - timing_t res; - TIMING_INIT (res); - json_ctx_t *json_ctx = malloc (sizeof (json_ctx_t)); assert (json_ctx != NULL); json_init (json_ctx, 2, stdout);