=== modified file 'plugins.d/mandos-client.c' --- plugins.d/mandos-client.c 2009-01-13 04:35:19 +0000 +++ plugins.d/mandos-client.c 2009-01-13 04:45:33 +0000 @@ -365,7 +365,8 @@ } static const char * safer_gnutls_strerror(int value) { - const char *ret = gnutls_strerror(value); /* Spurious warning */ + const char *ret = gnutls_strerror(value); /* Spurious warning from + -Wunreachable-code */ if(ret == NULL) ret = "(unknown)"; return ret; @@ -404,8 +405,10 @@ /* OpenPGP credentials */ gnutls_certificate_allocate_credentials(&mc->cred); if(ret != GNUTLS_E_SUCCESS){ - fprintf(stderr, "GnuTLS memory error: %s\n", /* Spurious - warning */ + fprintf(stderr, "GnuTLS memory error: %s\n", /* Spurious warning + * from + * -Wunreachable-code + */ safer_gnutls_strerror(ret)); gnutls_global_deinit(); return -1; @@ -553,7 +556,9 @@ fprintf(stderr, "Bad address: %s\n", ip); return -1; } - to.in6.sin6_port = htons(port); /* Spurious warning */ + to.in6.sin6_port = htons(port); /* Spurious warnings from + -Wconversion and + -Wunreachable-code */ to.in6.sin6_scope_id = (uint32_t)if_index;