- Lauri
>From 4bc53785923d3adf9b085bcb5312543457a96941 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Wed, 23 May 2012 17:58:56 +0300 Subject: [PATCH 09/13] palm: Remove two dead writes
Fixes two Clang warnings. Signed-off-by: Lauri Kasanen <[email protected]> --- plugins/palm/palm.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/plugins/palm/palm.c b/plugins/palm/palm.c index 5e1f68f..c324726 100644 --- a/plugins/palm/palm.c +++ b/plugins/palm/palm.c @@ -53,7 +53,6 @@ static int mk_palm_conf(char *confdir) mk_api->str_build(&conf_path, &len, "%s/palm.conf", confdir); conf = mk_api->config_create(conf_path); - r = palms; mk_list_foreach(head, &conf->sections) { section = mk_list_entry(head, struct mk_config_section, _head); /* Just read PALM sections */ @@ -372,7 +371,7 @@ static int mk_palm_write(int socket, char *buffer, int len, int is_chunked) if (is_chunked == MK_TRUE) { mk_api->socket_cork_flag(socket, TCP_CORK_ON); chunk_len = snprintf(chunk_header, chunk_size - 1, "%x%s", len, MK_CRLF); - n = mk_api->socket_send(socket, chunk_header, chunk_len); + mk_api->socket_send(socket, chunk_header, chunk_len); } n = mk_api->socket_send(socket, buffer, len); -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
