libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] Compiler Warnings with 0.9.33


From: Dilyan Palauzov
Subject: [libmicrohttpd] Compiler Warnings with 0.9.33
Date: Sun, 22 Dec 2013 14:42:25 +0100
User-agent: Internet Messaging Program (IMP) H5 (6.1.6)

Hello,

as you were so polite to fix the compiler warnings in connection.c upon my email from 06. Dec, I provide you here with all warnings produced by GCC 4.8.3 20131219 (prerelease) with -Wall -Wextra .

Greetings
  Dilian


daemon.c: In function ‘mhd_panic_std’:
daemon.c:108:22: warning: unused parameter ‘cls’ [-Wunused-parameter]
 mhd_panic_std (void *cls,
                      ^
daemon.c: In function ‘MHD_run_from_select’:
daemon.c:1946:22: warning: unused parameter ‘except_fd_set’ [-Wunused-parameter]
        const fd_set *except_fd_set)
                      ^
daemon.c: In function ‘MHD_epoll’:
daemon.c:2460:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       for (i=0;i<num_events;i++)
                 ^
daemon.c: In function ‘parse_options_va’:
daemon.c:2850:14: warning: comparison is always false due to limited range of data type [-Wtype-limits]
    if (daemon->worker_pool_size >= (SIZE_MAX / sizeof (struct MHD_Daemon)))
              ^
daemon.c: In function ‘MHD_get_timeout’:
daemon.c:1918:26: warning: ‘earliest_deadline’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     *timeout = 1000 * (1 + earliest_deadline - now);
                          ^
internal.c: In function ‘MHD_http_unescape’:
internal.c:119:26: warning: unused parameter ‘cls’ [-Wunused-parameter]
 MHD_http_unescape (void *cls,
                          ^
internal.c:120:29: warning: unused parameter ‘connection’ [-Wunused-parameter]
      struct MHD_Connection *connection,
                             ^
postprocessor.c: In function ‘process_value_to_boundary’:
postprocessor.c:703:35: warning: unused parameter ‘blen’ [-Wunused-parameter]
                            size_t blen,
                                   ^
digestauth.c: In function ‘digest_calc_response’:
digestauth.c:145:21: warning: unused parameter ‘hentity’ [-Wunused-parameter]
         const char *hentity,
                     ^
digestauth.c: In function ‘lookup_sub_value’:
digestauth.c:261:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        if (size > (q2 - q1) + 1)
                 ^
demo.c: In function ‘list_directory’:
demo.c:261:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (sizeof (fullname) <=
                             ^
demo.c: In function ‘process_upload_data’:
demo.c:560:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        (size != write (uc->fd, data, size)) )
              ^
demo.c:469:27: warning: unused parameter ‘kind’ [-Wunused-parameter]
        enum MHD_ValueKind kind,
                           ^
demo.c:472:20: warning: unused parameter ‘content_type’ [-Wunused-parameter]
        const char *content_type,
                    ^
demo.c:473:20: warning: unused parameter ‘transfer_encoding’ [-Wunused-parameter]
        const char *transfer_encoding,
                    ^
demo.c:475:17: warning: unused parameter ‘off’ [-Wunused-parameter]
        uint64_t off,
                 ^
demo.c: In function ‘response_completed_callback’:
demo.c:594:36: warning: unused parameter ‘cls’ [-Wunused-parameter]
 response_completed_callback (void *cls,
                                    ^
demo.c:595:32: warning: unused parameter ‘connection’ [-Wunused-parameter]
         struct MHD_Connection *connection,
                                ^
demo.c:597:41: warning: unused parameter ‘toe’ [-Wunused-parameter]
         enum MHD_RequestTerminationCode toe)
                                         ^
demo.c: In function ‘generate_page’:
demo.c:664:22: warning: unused parameter ‘cls’ [-Wunused-parameter]
 generate_page (void *cls,
                      ^
demo.c:668:21: warning: unused parameter ‘version’ [-Wunused-parameter]
         const char *version,
                     ^
demo.c: In function ‘catcher’:
demo.c:793:14: warning: unused parameter ‘sig’ [-Wunused-parameter]
 catcher (int sig)
              ^
benchmark.c: In function ‘completed_callback’:
benchmark.c:57:27: warning: unused parameter ‘cls’ [-Wunused-parameter]
 completed_callback (void *cls,
                           ^
benchmark.c:58:30: warning: unused parameter ‘connection’ [-Wunused-parameter]
       struct MHD_Connection *connection,
                              ^
benchmark.c:60:39: warning: unused parameter ‘toe’ [-Wunused-parameter]
       enum MHD_RequestTerminationCode toe)
                                       ^
benchmark.c: In function ‘uri_logger_cb’:
benchmark.c:86:22: warning: unused parameter ‘cls’ [-Wunused-parameter]
 uri_logger_cb (void *cls,
                      ^
benchmark.c:87:21: warning: unused parameter ‘uri’ [-Wunused-parameter]
         const char *uri)
                     ^
benchmark.c: In function ‘ahc_echo’:
benchmark.c:98:17: warning: unused parameter ‘cls’ [-Wunused-parameter]
 ahc_echo (void *cls,
                 ^
benchmark.c:100:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
benchmark.c:102:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
benchmark.c:103:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
benchmark.c:103:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
benchmark.c:103:69: warning: unused parameter ‘ptr’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                                                     ^
benchmark_https.c: In function ‘completed_callback’:
benchmark_https.c:57:27: warning: unused parameter ‘cls’ [-Wunused-parameter]
 completed_callback (void *cls,
                           ^
benchmark_https.c:58:30: warning: unused parameter ‘connection’ [-Wunused-parameter]
       struct MHD_Connection *connection,
                              ^
benchmark_https.c:60:39: warning: unused parameter ‘toe’ [-Wunused-parameter]
       enum MHD_RequestTerminationCode toe)
                                       ^
benchmark_https.c: In function ‘uri_logger_cb’:
benchmark_https.c:86:22: warning: unused parameter ‘cls’ [-Wunused-parameter]
 uri_logger_cb (void *cls,
                      ^
benchmark_https.c:87:21: warning: unused parameter ‘uri’ [-Wunused-parameter]
         const char *uri)
                     ^
benchmark_https.c: In function ‘ahc_echo’:
benchmark_https.c:98:17: warning: unused parameter ‘cls’ [-Wunused-parameter]
 ahc_echo (void *cls,
                 ^
benchmark_https.c:100:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
benchmark_https.c:102:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
benchmark_https.c:103:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
benchmark_https.c:103:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
benchmark_https.c:103:69: warning: unused parameter ‘ptr’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                                                     ^
minimal_example.c: In function ‘ahc_echo’:
minimal_example.c:33:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
minimal_example.c:35:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
minimal_example.c:36:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
minimal_example.c:36:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
dual_stack_example.c: In function ‘ahc_echo’:
dual_stack_example.c:33:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
dual_stack_example.c:35:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
dual_stack_example.c:36:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
dual_stack_example.c:36:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
minimal_example_comet.c: In function ‘data_generator’:
minimal_example_comet.c:29:23: warning: unused parameter ‘cls’ [-Wunused-parameter]
 data_generator (void *cls, uint64_t pos, char *buf, size_t max)
                       ^
minimal_example_comet.c:29:37: warning: unused parameter ‘pos’ [-Wunused-parameter]
 data_generator (void *cls, uint64_t pos, char *buf, size_t max)
                                     ^
minimal_example_comet.c: In function ‘ahc_echo’:
minimal_example_comet.c:39:17: warning: unused parameter ‘cls’ [-Wunused-parameter]
 ahc_echo (void *cls,
                 ^
minimal_example_comet.c:41:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
minimal_example_comet.c:43:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
minimal_example_comet.c:44:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
minimal_example_comet.c:44:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
querystring_example.c: In function ‘ahc_echo’:
querystring_example.c:34:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
querystring_example.c:36:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
querystring_example.c:37:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
querystring_example.c:37:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
fileserver_example.c: In function ‘ahc_echo’:
fileserver_example.c:49:17: warning: unused parameter ‘cls’ [-Wunused-parameter]
 ahc_echo (void *cls,
                 ^
fileserver_example.c:53:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
fileserver_example.c:54:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data,
                       ^
fileserver_example.c:55:12: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
    size_t *upload_data_size, void **ptr)
            ^
fileserver_example_dirs.c: In function ‘dir_reader’:
fileserver_example_dirs.c:58:33: warning: unused parameter ‘pos’ [-Wunused-parameter]
 dir_reader (void *cls, uint64_t pos, char *buf, size_t max)
                                 ^
fileserver_example_dirs.c: In function ‘ahc_echo’:
fileserver_example_dirs.c:79:17: warning: unused parameter ‘cls’ [-Wunused-parameter]
 ahc_echo (void *cls,
                 ^
fileserver_example_dirs.c:83:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
fileserver_example_dirs.c:84:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data,
                       ^
fileserver_example_dirs.c:85:12: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
    size_t *upload_data_size, void **ptr)
            ^
fileserver_example_external_select.c: In function ‘ahc_echo’:
fileserver_example_external_select.c:49:17: warning: unused parameter ‘cls’ [-Wunused-parameter]
 ahc_echo (void *cls,
                 ^
fileserver_example_external_select.c:53:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
fileserver_example_external_select.c:54:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data,
                       ^
fileserver_example_external_select.c:55:12: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
    size_t *upload_data_size, void **ptr)
            ^
fileserver_example_external_select.c: In function ‘main’:
fileserver_example_external_select.c:139:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
           if (tv.tv_sec * 1000 < mhd_timeout)
                                ^
refuse_post_example.c: In function ‘ahc_echo’:
refuse_post_example.c:39:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
refuse_post_example.c:41:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
refuse_post_example.c:42:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
refuse_post_example.c:42:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
post_example.c: In function ‘fill_v1_form’:
post_example.c:310:27: warning: unused parameter ‘cls’ [-Wunused-parameter]
 fill_v1_form (const void *cls,
                           ^
post_example.c: In function ‘fill_v1_v2_form’:
post_example.c:353:30: warning: unused parameter ‘cls’ [-Wunused-parameter]
 fill_v1_v2_form (const void *cls,
                              ^
post_example.c: In function ‘not_found_page’:
post_example.c:397:29: warning: unused parameter ‘cls’ [-Wunused-parameter]
 not_found_page (const void *cls,
                             ^
post_example.c:399:19: warning: unused parameter ‘session’ [-Wunused-parameter]
   struct Session *session,
                   ^
post_example.c: In function ‘post_iterator’:
post_example.c:457:28: warning: unused parameter ‘kind’ [-Wunused-parameter]
         enum MHD_ValueKind kind,
                            ^
post_example.c:459:21: warning: unused parameter ‘filename’ [-Wunused-parameter]
         const char *filename,
                     ^
post_example.c:460:21: warning: unused parameter ‘content_type’ [-Wunused-parameter]
         const char *content_type,
                     ^
post_example.c:461:21: warning: unused parameter ‘transfer_encoding’ [-Wunused-parameter]
         const char *transfer_encoding,
                     ^
post_example.c: In function ‘create_response’:
post_example.c:537:24: warning: unused parameter ‘cls’ [-Wunused-parameter]
 create_response (void *cls,
                        ^
post_example.c:541:16: warning: unused parameter ‘version’ [-Wunused-parameter]
    const char *version,
                ^
post_example.c: In function ‘request_completed_callback’:
post_example.c:644:35: warning: unused parameter ‘cls’ [-Wunused-parameter]
 request_completed_callback (void *cls,
                                   ^
post_example.c:645:31: warning: unused parameter ‘connection’ [-Wunused-parameter]
        struct MHD_Connection *connection,
                               ^
post_example.c:647:40: warning: unused parameter ‘toe’ [-Wunused-parameter]
        enum MHD_RequestTerminationCode toe)
                                        ^
digest_auth_example.c: In function ‘ahc_echo’:
digest_auth_example.c:36:17: warning: unused parameter ‘cls’ [-Wunused-parameter]
 ahc_echo (void *cls,
                 ^
digest_auth_example.c:38:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
digest_auth_example.c:39:23: warning: unused parameter ‘method’ [-Wunused-parameter]
           const char *method,
                       ^
digest_auth_example.c:40:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
digest_auth_example.c:41:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
digest_auth_example.c:41:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
digest_auth_example.c:41:69: warning: unused parameter ‘ptr’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                                                     ^
digest_auth_example.c: In function ‘main’:
digest_auth_example.c:115:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (len == -1)
               ^
authorization_example.c: In function ‘ahc_echo’:
authorization_example.c:38:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
authorization_example.c:40:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
authorization_example.c:41:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                       ^
authorization_example.c:41:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size, void **ptr)
                                            ^
test_options.c: In function ‘ahc_echo’:
test_options.c:38:17: warning: unused parameter ‘cls’ [-Wunused-parameter]
 ahc_echo (void *cls,
                 ^
test_options.c:39:34: warning: unused parameter ‘connection’ [-Wunused-parameter]
           struct MHD_Connection *connection,
                                  ^
test_options.c:40:23: warning: unused parameter ‘url’ [-Wunused-parameter]
           const char *url,
                       ^
test_options.c:41:23: warning: unused parameter ‘method’ [-Wunused-parameter]
           const char *method,
                       ^
test_options.c:42:23: warning: unused parameter ‘version’ [-Wunused-parameter]
           const char *version,
                       ^
test_options.c:43:23: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size,
                       ^
test_options.c:43:44: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
           const char *upload_data, size_t *upload_data_size,
                                            ^
test_options.c:44:18: warning: unused parameter ‘unused’ [-Wunused-parameter]
           void **unused)
                  ^
test_options.c: In function ‘main’:
test_options.c:120:11: warning: unused parameter ‘argc’ [-Wunused-parameter]
 main (int argc, char *const *argv)
           ^
test_options.c:120:30: warning: unused parameter ‘argv’ [-Wunused-parameter]
 main (int argc, char *const *argv)
                              ^
basicauthentication.c: In function ‘answer_to_connection’:
basicauthentication.c:21:29: warning: unused parameter ‘cls’ [-Wunused-parameter]
 answer_to_connection (void *cls, struct MHD_Connection *connection,
                             ^
basicauthentication.c:22:35: warning: unused parameter ‘url’ [-Wunused-parameter]
                       const char *url, const char *method,
                                   ^
basicauthentication.c:23:35: warning: unused parameter ‘version’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                   ^
basicauthentication.c:23:56: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                                        ^
basicauthentication.c:24:31: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
                       size_t *upload_data_size, void **con_cls)
                               ^
hellobrowser.c: In function ‘answer_to_connection’:
hellobrowser.c:18:29: warning: unused parameter ‘cls’ [-Wunused-parameter]
 answer_to_connection (void *cls, struct MHD_Connection *connection,
                             ^
hellobrowser.c:19:35: warning: unused parameter ‘url’ [-Wunused-parameter]
                       const char *url, const char *method,
                                   ^
hellobrowser.c:19:52: warning: unused parameter ‘method’ [-Wunused-parameter]
                       const char *url, const char *method,
                                                    ^
hellobrowser.c:20:35: warning: unused parameter ‘version’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                   ^
hellobrowser.c:20:56: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                                        ^
hellobrowser.c:21:31: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
                       size_t *upload_data_size, void **con_cls)
                               ^
hellobrowser.c:21:56: warning: unused parameter ‘con_cls’ [-Wunused-parameter]
                       size_t *upload_data_size, void **con_cls)
                                                        ^
logging.c: In function ‘print_out_key’:
logging.c:18:22: warning: unused parameter ‘cls’ [-Wunused-parameter]
 print_out_key (void *cls, enum MHD_ValueKind kind, const char *key,
                      ^
logging.c:18:46: warning: unused parameter ‘kind’ [-Wunused-parameter]
 print_out_key (void *cls, enum MHD_ValueKind kind, const char *key,
                                              ^
logging.c: In function ‘answer_to_connection’:
logging.c:27:29: warning: unused parameter ‘cls’ [-Wunused-parameter]
 answer_to_connection (void *cls, struct MHD_Connection *connection,
                             ^
logging.c:29:56: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                                        ^
logging.c:30:31: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
                       size_t *upload_data_size, void **con_cls)
                               ^
logging.c:30:56: warning: unused parameter ‘con_cls’ [-Wunused-parameter]
                       size_t *upload_data_size, void **con_cls)
                                                        ^
responseheaders.c: In function ‘answer_to_connection’:
responseheaders.c:23:29: warning: unused parameter ‘cls’ [-Wunused-parameter]
 answer_to_connection (void *cls, struct MHD_Connection *connection,
                             ^
responseheaders.c:24:35: warning: unused parameter ‘url’ [-Wunused-parameter]
                       const char *url, const char *method,
                                   ^
responseheaders.c:25:35: warning: unused parameter ‘version’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                   ^
responseheaders.c:25:56: warning: unused parameter ‘upload_data’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                                        ^
responseheaders.c:26:31: warning: unused parameter ‘upload_data_size’ [-Wunused-parameter]
                       size_t *upload_data_size, void **con_cls)
                               ^
responseheaders.c:26:56: warning: unused parameter ‘con_cls’ [-Wunused-parameter]
                       size_t *upload_data_size, void **con_cls)
                                                        ^
simplepost.c: In function ‘iterate_post’:
simplepost.c:66:53: warning: unused parameter ‘kind’ [-Wunused-parameter]
 iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key,
                                                     ^
simplepost.c:67:27: warning: unused parameter ‘filename’ [-Wunused-parameter]
               const char *filename, const char *content_type,
                           ^
simplepost.c:67:49: warning: unused parameter ‘content_type’ [-Wunused-parameter]
               const char *filename, const char *content_type,
                                                 ^
simplepost.c:68:27: warning: unused parameter ‘transfer_encoding’ [-Wunused-parameter]
               const char *transfer_encoding, const char *data, uint64_t off,
                           ^
simplepost.c:68:73: warning: unused parameter ‘off’ [-Wunused-parameter]
               const char *transfer_encoding, const char *data, uint64_t off,
                                                                         ^
simplepost.c: In function ‘request_completed’:
simplepost.c:95:26: warning: unused parameter ‘cls’ [-Wunused-parameter]
 request_completed (void *cls, struct MHD_Connection *connection,
                          ^
simplepost.c:95:54: warning: unused parameter ‘connection’ [-Wunused-parameter]
 request_completed (void *cls, struct MHD_Connection *connection,
                                                      ^
simplepost.c:96:68: warning: unused parameter ‘toe’ [-Wunused-parameter]
                    void **con_cls, enum MHD_RequestTerminationCode toe)
                                                                    ^
simplepost.c: In function ‘answer_to_connection’:
simplepost.c:116:29: warning: unused parameter ‘cls’ [-Wunused-parameter]
 answer_to_connection (void *cls, struct MHD_Connection *connection,
                             ^
simplepost.c:117:35: warning: unused parameter ‘url’ [-Wunused-parameter]
                       const char *url, const char *method,
                                   ^
simplepost.c:118:35: warning: unused parameter ‘version’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                   ^
largepost.c: In function ‘iterate_post’:
largepost.c:77:53: warning: unused parameter ‘kind’ [-Wunused-parameter]
 iterate_post (void *coninfo_cls, enum MHD_ValueKind kind, const char *key,
                                                     ^
largepost.c:78:49: warning: unused parameter ‘content_type’ [-Wunused-parameter]
               const char *filename, const char *content_type,
                                                 ^
largepost.c:79:27: warning: unused parameter ‘transfer_encoding’ [-Wunused-parameter]
               const char *transfer_encoding, const char *data, uint64_t off,
                           ^
largepost.c:79:73: warning: unused parameter ‘off’ [-Wunused-parameter]
               const char *transfer_encoding, const char *data, uint64_t off,
                                                                         ^
largepost.c: In function ‘request_completed’:
largepost.c:120:26: warning: unused parameter ‘cls’ [-Wunused-parameter]
 request_completed (void *cls, struct MHD_Connection *connection,
                          ^
largepost.c:120:54: warning: unused parameter ‘connection’ [-Wunused-parameter]
 request_completed (void *cls, struct MHD_Connection *connection,
                                                      ^
largepost.c:121:68: warning: unused parameter ‘toe’ [-Wunused-parameter]
                    void **con_cls, enum MHD_RequestTerminationCode toe)
                                                                    ^
largepost.c: In function ‘answer_to_connection’:
largepost.c:146:29: warning: unused parameter ‘cls’ [-Wunused-parameter]
 answer_to_connection (void *cls, struct MHD_Connection *connection,
                             ^
largepost.c:147:35: warning: unused parameter ‘url’ [-Wunused-parameter]
                       const char *url, const char *method,
                                   ^
largepost.c:148:35: warning: unused parameter ‘version’ [-Wunused-parameter]
                       const char *version, const char *upload_data,
                                   ^
sessions.c: In function ‘not_found_page’:
sessions.c:415:29: warning: unused parameter ‘cls’ [-Wunused-parameter]
 not_found_page (const void *cls,
                             ^
sessions.c:417:19: warning: unused parameter ‘session’ [-Wunused-parameter]
   struct Session *session,
                   ^
sessions.c: In function ‘post_iterator’:
sessions.c:473:28: warning: unused parameter ‘kind’ [-Wunused-parameter]
         enum MHD_ValueKind kind,
                            ^
sessions.c:475:21: warning: unused parameter ‘filename’ [-Wunused-parameter]
         const char *filename,
                     ^
sessions.c:476:21: warning: unused parameter ‘content_type’ [-Wunused-parameter]
         const char *content_type,
                     ^
sessions.c:477:21: warning: unused parameter ‘transfer_encoding’ [-Wunused-parameter]
         const char *transfer_encoding,
                     ^
sessions.c: In function ‘create_response’:
sessions.c:554:24: warning: unused parameter ‘cls’ [-Wunused-parameter]
 create_response (void *cls,
                        ^
sessions.c:558:16: warning: unused parameter ‘version’ [-Wunused-parameter]
    const char *version,
                ^
sessions.c: In function ‘request_completed_callback’:
sessions.c:661:35: warning: unused parameter ‘cls’ [-Wunused-parameter]
 request_completed_callback (void *cls,
                                   ^
sessions.c:662:31: warning: unused parameter ‘connection’ [-Wunused-parameter]
        struct MHD_Connection *connection,
                               ^
sessions.c:664:40: warning: unused parameter ‘toe’ [-Wunused-parameter]
        enum MHD_RequestTerminationCode toe)
                                        ^






reply via email to

[Prev in Thread] Current Thread [Next in Thread]