diff options
author | Yifan Lu | 2016-10-23 11:10:50 -0700 |
---|---|---|
committer | Yifan Lu | 2016-10-23 11:10:50 -0700 |
commit | c2d864c53c26b4b168b32fa18bf7f5dfbefb30de (patch) | |
tree | 5269c46175114c0a722e05aa7f90b0ed17f771b3 /lib/substitute-internal.h | |
parent | Added execmem foreign write for Vita (diff) | |
download | substitute-c2d864c53c26b4b168b32fa18bf7f5dfbefb30de.tar.gz |
Fixed warning about unused function
Fixed warning about incompatible types
Diffstat (limited to '')
-rw-r--r-- | lib/substitute-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/substitute-internal.h b/lib/substitute-internal.h index c9b78f0..3e0691d 100644 --- a/lib/substitute-internal.h +++ b/lib/substitute-internal.h @@ -104,7 +104,7 @@ int substitute_dlopen_in_pid(int pid, const char *filename, int options, int substitute_ios_unrestrict(task_t task, char **error); #endif -static const char *xbasename(const char *path) { +static UNUSED const char *xbasename(const char *path) { const char *slash = strrchr(path, '/'); return slash ? slash + 1 : path; } |