mirror of
https://github.com/curl/curl.git
synced 2026-07-30 22:48:03 +03:00
clang-tidy: fix issues found with build-fuzzing
- curl_sha512_256: add missing, drop redundant, parentheses.
- doh: drop redundant returns.
- url: add missing parentheses.
- vtls: fix unused const variables.
- tests/unit: fix missing header with clang-tidy and !threaded-resolver.
Follow-up to 57ff2d6c91 #20106
Closes #20774
This commit is contained in:
parent
bcc8144b89
commit
35bbb2e830
7 changed files with 19 additions and 20 deletions
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include "urldata.h"
|
||||
#include "connect.h"
|
||||
#include "curl_addrinfo.h"
|
||||
|
||||
static CURLcode t1607_setup(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
#include "urldata.h"
|
||||
#include "connect.h"
|
||||
#include "curl_addrinfo.h"
|
||||
|
||||
static CURLcode t1609_setup(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@
|
|||
#include "cf-ip-happy.h"
|
||||
#include "multiif.h"
|
||||
#include "select.h"
|
||||
#include "curl_addrinfo.h"
|
||||
#include "curl_trc.h"
|
||||
|
||||
static CURLcode t2600_setup(CURL **easy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue