cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=254aac64a1fabcf8f986e3e73072ad2419a2cd12

commit 254aac64a1fabcf8f986e3e73072ad2419a2cd12
Author: vivek <vivek.el...@samsung.com>
Date:   Tue Apr 28 11:09:47 2015 +0200

    eio: fix compilation warnings in eio_test_xattr.c when xattr tests are 
disabled.
    
    Summary: Signed-off-by: vivek <vivek.el...@samsung.com>
    
    Reviewers: cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2438
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/tests/eio/eio_test_xattr.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/tests/eio/eio_test_xattr.c b/src/tests/eio/eio_test_xattr.c
index f28d04f..b832eb0 100644
--- a/src/tests/eio/eio_test_xattr.c
+++ b/src/tests/eio/eio_test_xattr.c
@@ -13,6 +13,9 @@
 
 #include "eio_suite.h"
 
+
+#ifdef XATTR_TEST_DIR
+
 static char *str_attr = "user.name";
 static char *str_data = "Vivek Ellur";
 static char *int_attr = "user.id";
@@ -125,7 +128,6 @@ _error_cb(void *data EINA_UNUSED, Eio_File *handler 
EINA_UNUSED, int error)
    ecore_main_loop_quit();
 }
 
-#ifdef XATTR_TEST_DIR
 START_TEST(eio_test_xattr_set)
 {
    char *filename = "eio-tmpfile";

-- 


Reply via email to