Skip to content

Commit

Permalink
Merge pull request #89 from zhongcy/patch/zzhongcy
Browse files Browse the repository at this point in the history
avoid missing-field-initializers warn
  • Loading branch information
nicholaschiasson authored Dec 9, 2024
2 parents 3152d58 + 3f4a2cd commit 6c0cc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_upstream_jdomain_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ngx_module_t ngx_http_upstream_jdomain_module = { NGX_MODULE_V1,
NULL, /* exit master */
NGX_MODULE_V1_PADDING };

static struct sockaddr_in NGX_JDOMAIN_INVALID_ADDR_SOCKADDR_IN = {};
static struct sockaddr_in NGX_JDOMAIN_INVALID_ADDR_SOCKADDR_IN = { 0 };
static const ngx_addr_t NGX_JDOMAIN_INVALID_ADDR = { (struct sockaddr *)(&NGX_JDOMAIN_INVALID_ADDR_SOCKADDR_IN),
sizeof(struct sockaddr_in),
ngx_string("NGX_UPSTREAM_JDOMAIN_BUFFER") };
Expand Down

0 comments on commit 6c0cc3a

Please sign in to comment.