OSDN Git Service

Fix building issues with pie-x86
[android-x86/external-koush-Superuser.git] / Superuser / jni / su / su.c
index 9cfaa6f..19cf2e9 100644 (file)
@@ -884,7 +884,7 @@ int su_main(int argc, char *argv[], int need_client) {
 
     ctx.umask = umask(027);
 
-    int ret = mkdir(REQUESTOR_CACHE_PATH, 0770);
+    mkdir(REQUESTOR_CACHE_PATH, 0770);
     if (chown(REQUESTOR_CACHE_PATH, st.st_uid, st.st_gid)) {
         PLOGE("chown (%s, %ld, %ld)", REQUESTOR_CACHE_PATH, st.st_uid, st.st_gid);
         deny(&ctx);