Changeset: 4f696df18139 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4f696df18139
Modified Files:
        monetdb5/mal/mal_http_daemon.c
Branch: default
Log Message:

another small cleanup


diffs (21 lines):

diff --git a/monetdb5/mal/mal_http_daemon.c b/monetdb5/mal/mal_http_daemon.c
--- a/monetdb5/mal/mal_http_daemon.c
+++ b/monetdb5/mal/mal_http_daemon.c
@@ -102,7 +102,7 @@ request_completed (void *cls, struct MHD
        (void)connection;
        (void)toe;
 
-       if (NULL == con_info)
+       if (con_info == NULL)
                return;
 
        if (con_info->connectiontype == POST)
@@ -168,7 +168,7 @@ answer_to_connection (void *cls, struct 
        }
 
        rest = (*http_handler)(url, method, &page, con_info->answerstring);
-       if (rest) {};
+       (void)rest;
        response =
                MHD_create_response_from_buffer (strlen (page), (void *) page,
                                                                                
 MHD_RESPMEM_MUST_COPY);
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to