mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
clang-tidy: silence more minor issues found by v22
Also one found manually in lib/curl_sha512_256.c.
Follow-up to 7a08c5d820 #20762
Closes #20770
This commit is contained in:
parent
006f561f6e
commit
bcc8144b89
5 changed files with 16 additions and 15 deletions
|
|
@ -1247,7 +1247,7 @@ void Curl_ldap_version(char *buf, size_t bufsz)
|
|||
unsigned int patch = (unsigned int)(api.ldapai_vendor_version % 100);
|
||||
unsigned int major = (unsigned int)(api.ldapai_vendor_version / 10000);
|
||||
unsigned int minor =
|
||||
(((unsigned int)api.ldapai_vendor_version - major * 10000)
|
||||
(((unsigned int)api.ldapai_vendor_version - (major * 10000))
|
||||
- patch) / 100;
|
||||
curl_msnprintf(buf, bufsz, "%s/%u.%u.%u",
|
||||
api.ldapai_vendor_name, major, minor, patch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue