mirror of
https://github.com/curl/curl.git
synced 2026-05-15 21:56:21 +03:00
curl: "Function call argument is an uninitialized value"
Follow-up to cac0e4a6ad
Detected by scan-build
Closes #3560
This commit is contained in:
parent
a6d134e17a
commit
4854b344e7
1 changed files with 5 additions and 5 deletions
|
|
@ -419,14 +419,14 @@ static CURLcode libcurl_generate_mime(CURL *curl,
|
|||
|
||||
/* Wrapper to build and generate source code for a mime part. */
|
||||
static CURLcode libcurl_generate_mime_part(CURL *curl,
|
||||
struct GlobalConfig *config,
|
||||
tool_mime *part,
|
||||
curl_mime *mime,
|
||||
int mimeno)
|
||||
struct GlobalConfig *config,
|
||||
tool_mime *part,
|
||||
curl_mime *mime,
|
||||
int mimeno)
|
||||
{
|
||||
CURLcode ret = CURLE_OK;
|
||||
curl_mimepart *mimepart;
|
||||
int submimeno;
|
||||
int submimeno = 0;
|
||||
curl_mime *submime = NULL;
|
||||
char *escaped = NULL;
|
||||
const char *data = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue