summaryrefslogtreecommitdiff
path: root/src/benchmarks/eo/eo_bench_callbacks.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-11 12:24:08 +0000
committerTom Hacohen <tom@stosb.com>2016-03-11 12:29:03 +0000
commitf24210caac8d50940ddef858994571be59179c10 (patch)
treecfc8b264e77abbab9827517d1827f9a4fb4dcd50 /src/benchmarks/eo/eo_bench_callbacks.c
parent9fdac37187e35f45570c3808011d0283c658652d (diff)
Revert "Automatic migration to the new eo_add syntax."
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
Diffstat (limited to 'src/benchmarks/eo/eo_bench_callbacks.c')
-rw-r--r--src/benchmarks/eo/eo_bench_callbacks.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/benchmarks/eo/eo_bench_callbacks.c b/src/benchmarks/eo/eo_bench_callbacks.c
index 2114234411..ab779f8417 100644
--- a/src/benchmarks/eo/eo_bench_callbacks.c
+++ b/src/benchmarks/eo/eo_bench_callbacks.c
@@ -17,8 +17,7 @@ static void
17bench_eo_callbacks_add(int request) 17bench_eo_callbacks_add(int request)
18{ 18{
19 int i; 19 int i;
20 Eo *obj = NULL; 20 Eo *obj = eo_add(SIMPLE_CLASS, NULL);
21 eo_add(&obj, SIMPLE_CLASS, NULL);
22 21
23 for (i = 0 ; i < request ; i++) 22 for (i = 0 ; i < request ; i++)
24 { 23 {