Skip to content

build: fix building rare combinations#20712

Closed
vszakats wants to merge 4 commits intocurl:masterfrom
vszakats:nichebuild
Closed

build: fix building rare combinations#20712
vszakats wants to merge 4 commits intocurl:masterfrom
vszakats:nichebuild

Conversation

@vszakats
Copy link
Member

  • http/2 + !headers
  • gnutls + !verbose
  • ssls-export + !verbose

lib/http2.c:1503:12: error: variable 'hlen' set but not used [-Werror,-Wunused-but-set-variable]
 1503 |     size_t hlen;
      |            ^
lib/vtls/vtls_scache.c:1151:13: error: variable 'npeers' set but not used [-Werror,-Wunused-but-set-variable]
 1151 |   size_t i, npeers = 0, ntickets = 0;
      |             ^
lib/vtls/vtls_scache.c:1151:25: error: variable 'ntickets' set but not used [-Werror,-Wunused-but-set-variable]
 1151 |   size_t i, npeers = 0, ntickets = 0;
      |                         ^
lib/vquic/curl_ngtcp2.c:2344:20: error: unused function 'gtls_hs_msg_name' [-Werror,-Wunused-function]
 2344 | static const char *gtls_hs_msg_name(int mtype)
      |                    ^~~~~~~~~~~~~~~~
@vszakats vszakats added the build label Feb 24, 2026
@vszakats vszakats closed this in 3e198f7 Feb 24, 2026
@vszakats vszakats deleted the nichebuild branch February 24, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant