From 4fe69b0927f4c5d0cb3b3ae4fa64500db22b13d0 Mon Sep 17 00:00:00 2001 From: Christoph Lipka Date: Tue, 6 Dec 2016 16:42:41 +0900 Subject: unix socket: IPC code isolation Signed-off-by: Christoph Lipka Signed-off-by: Vo Trung Chi --- src/daemon/dlt-daemon.c | 3 +-- src/daemon/dlt_daemon_connection.c | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src/daemon') diff --git a/src/daemon/dlt-daemon.c b/src/daemon/dlt-daemon.c index 79b4058..a8404fd 100644 --- a/src/daemon/dlt-daemon.c +++ b/src/daemon/dlt-daemon.c @@ -2763,8 +2763,7 @@ int dlt_daemon_process_user_message_log_shm(DltDaemon *daemon, int verbose) { char local_str[DLT_DAEMON_TEXTBUFSIZE] = { '\0' }; - int j, sent, third_value; - ssize_t ret; + int sent; uint8_t *rcv_buffer = NULL; int size; uint32_t len = sizeof(DltUserHeader); diff --git a/src/daemon/dlt_daemon_connection.c b/src/daemon/dlt_daemon_connection.c index 669a7b1..2fe17c1 100644 --- a/src/daemon/dlt_daemon_connection.c +++ b/src/daemon/dlt_daemon_connection.c @@ -232,8 +232,10 @@ DLT_STATIC DltReceiver *dlt_connection_get_receiver(DltDaemonLocal *daemon_local } break; +#ifdef DLT_USE_UNIX_SOCKET_IPC case DLT_CONNECTION_APP_CONNECT: /* FALL THROUGH */ +#endif case DLT_CONNECTION_ONE_S_TIMER: /* FALL THROUGH */ case DLT_CONNECTION_SIXTY_S_TIMER: -- cgit v1.2.1