Display and control your Android device
Fix useless garbage initialization
Romain Vimontb5d41ad4f601
diff --git a/app/src/server.c b/app/src/server.cindex 83c177dc..c9164972 100644--- a/app/src/server.c+++ b/app/src/server.c@@ -206,7 +206,7 @@ execute_server(struct sc_server *server,unsigned dyn_idx = count; // from there, the strings are allocated#define ADD_PARAM(fmt, ...) { \- char *p = (char *) &cmd[count]; \+ char *p; \if (asprintf(&p, fmt, ## __VA_ARGS__) == -1) { \goto end; \} \