diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index 9c22926..1b07e94 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -1,4 +1,2 @@
cmake_minimum_required(VERSION 3.4.1)
-add_library( xdelta3 SHARED src/main/cpp/xdelta3.c )
-find_library( log-lib log )
-target_link_libraries( xdelta3 ${log-lib} )
\ No newline at end of file
+add_library( xdelta3 SHARED src/main/cpp/xdelta3.c )
\ No newline at end of file
diff --git a/app/src/main/cpp/xdelta3.c b/app/src/main/cpp/xdelta3.c
index 43fa900..168367e 100644
--- a/app/src/main/cpp/xdelta3.c
+++ b/app/src/main/cpp/xdelta3.c
@@ -23,7 +23,6 @@ along with UniPatcher. If not, see .
#include
#include
#include
-#include
#define SIZEOF_SIZE_T 4
#define SIZEOF_UNSIGNED_LONG_LONG 8
@@ -146,7 +145,6 @@ int apply(FILE *patch, FILE *in, FILE *out) {
goto process;
default:
- __android_log_print(ANDROID_LOG_ERROR, "XDelta3", "Error %d: %s", ret, stream.msg);
if (stream.msg != NULL) {
if (strcmp(stream.msg, "target window checksum mismatch") == 0)
return ERR_WRONG_CHECKSUM;