Display and control your Android device
Move common instruction out of ifdef
Romain Vimont156d958e7776
diff --git a/app/src/server.c b/app/src/server.cindex 7c0d3d3f..4c1a43f5 100644--- a/app/src/server.c+++ b/app/src/server.c@@ -47,8 +47,6 @@ get_server_path(void) {LOGE("Could not allocate memory");return NULL;}- // the absolute path is hardcoded- return server_path;#elsechar *server_path = get_local_file_path(SERVER_FILENAME);if (!server_path) {@@ -58,8 +56,9 @@ get_server_path(void) {}LOGD("Using server (portable): %s", server_path);- return server_path;#endif++ return server_path;}static bool