Remove compile warning 00/61700/1 accepted/tizen/common/20160323.184337 submit/tizen/20160323.020400
authorMyungki Lee <mk5004.lee@samsung.com>
Thu, 10 Mar 2016 02:37:21 +0000 (11:37 +0900)
committerMyungki Lee <mk5004.lee@samsung.com>
Thu, 10 Mar 2016 02:37:21 +0000 (11:37 +0900)
Change-Id: If402ab106d5caeea803be072c08c0f50e7833056
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
plugin/app2sd/CMakeLists.txt
plugin/app2sd/src/app2sd_internals.c
test/src/test_app2ext.c

index d417cf3..3a55ea2 100644 (file)
@@ -15,7 +15,7 @@ FOREACH(flag ${libpkgs_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
 ENDFOREACH(flag)
 
-SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden")
+SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -Wno-unused-result")
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}")
 
 ### Local include directories
index cf474d2..7c3ab96 100644 (file)
@@ -46,7 +46,7 @@ extern int app2sd_force_clean(const char *pkgid);
 
 /*
 ########### Internal APIs ##################
- */
+
 static int _app2sd_setup_path(const char *pkgid, const char *dirpath,
                int apppathtype, const char *groupid)
 {
@@ -62,6 +62,7 @@ static int _app2sd_setup_path(const char *pkgid, const char *dirpath,
 
        return ret;
 }
+*/
 
 /*
 static int _app2sd_apply_app_smack(const char *pkgid, GList* dir_list, const char *groupid)
index 12304c4..53a9803 100644 (file)
@@ -90,8 +90,6 @@ char error_list[45][100] = {
 
 static int __get_integer_input_data(void);
 
-static char *__get_string_input_data(void);
-
 static int __get_integer_input_data(void)
 {
        char input_str[32] = { 0, };