We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99536fc commit 12a6cf8Copy full SHA for 12a6cf8
1 file changed
test/cfg/libcurl.c
@@ -28,9 +28,9 @@ void validCode()
28
CURLcode res;
29
// cppcheck-suppress valueFlowBailoutIncompleteVar
30
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
31
- curl_easy_setopt(handle, CURLOPT_HEADERFUNCTION, cb_WriteHeader);
+ curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, cb_WriteHeader);
32
struct S_WriteHeader s;
33
- curl_easy_setopt(handle, CURLOPT_WRITEHEADER, &s); // #14692
+ curl_easy_setopt(curl, CURLOPT_WRITEHEADER, &s); // #14692
34
res = curl_easy_perform(curl);
35
if (res != CURLE_OK) {
36
printf("error");
0 commit comments