remove excess initializers (fix compiler warnings)

personal/stbuehler/mod-csrf
Glenn Strauss 6 years ago
parent ed3065cfb2
commit d2b7c7bad2
  1. 2
      src/mod_authn_gssapi.c
  2. 2
      src/mod_authn_mysql.c

@ -61,7 +61,7 @@ INIT_FUNC(mod_authn_gssapi_init) {
static http_auth_scheme_t http_auth_scheme_gssapi =
{ "gssapi", mod_authn_gssapi_check, NULL };
static http_auth_backend_t http_auth_backend_gssapi =
{ "gssapi", mod_authn_gssapi_basic, NULL, NULL, NULL };
{ "gssapi", mod_authn_gssapi_basic, NULL, NULL };
plugin_data *p = calloc(1, sizeof(*p));
/* register http_auth_scheme_gssapi and http_auth_backend_gssapi */

@ -138,7 +138,7 @@ static handler_t mod_authn_mysql_digest(server *srv, connection *con, void *p_d,
INIT_FUNC(mod_authn_mysql_init) {
static http_auth_backend_t http_auth_backend_mysql =
{ "mysql", mod_authn_mysql_basic, mod_authn_mysql_digest, NULL, NULL };
{ "mysql", mod_authn_mysql_basic, mod_authn_mysql_digest, NULL };
plugin_data *p = calloc(1, sizeof(*p));
/* register http_auth_backend_mysql */

Loading…
Cancel
Save