mirror of
https://github.com/curl/curl.git
synced 2026-08-24 22:03:33 +03:00
tidy-up: use CURL_ARRAYSIZE()
Follow-up to 13b2ea68f0 #16111
Closes #16381
This commit is contained in:
parent
1b710381ca
commit
3fd1dfc829
35 changed files with 52 additions and 64 deletions
|
|
@ -127,7 +127,7 @@ static struct feature_name_presentp {
|
|||
{NULL, NULL, 0}
|
||||
};
|
||||
|
||||
static const char *fnames[sizeof(maybe_feature) / sizeof(maybe_feature[0])];
|
||||
static const char *fnames[CURL_ARRAYSIZE(maybe_feature)];
|
||||
const char * const *feature_names = fnames;
|
||||
size_t feature_count;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue