eina: removed multiple eina_init call.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Tue, 9 Dec 2014 10:16:42 +0000 (11:16 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 9 Dec 2014 10:17:54 +0000 (11:17 +0100)
Summary:
I observed that eina_init() was called twice in this function and eina_shutdown() once. So thought this might be a mistake, and so have cleaned it.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1748

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/benchmarks/eina/eina_bench_rectangle_pool.c

index 96d4b1b..9c30bac 100644 (file)
@@ -32,7 +32,6 @@ eina_bench_eina_rectangle_pool(int request)
    int i;
 
    eina_init();
-   eina_init();
 
    pool = eina_rectangle_pool_new(2048, 2048);
    if (!pool)