1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

curl: "Function call argument is an uninitialized value"

Follow-up to cac0e4a6ad

Detected by scan-build
Closes #3560
This commit is contained in:
Daniel Stenberg 2019-02-12 10:09:09 +01:00
parent a6d134e17a
commit 4854b344e7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -426,7 +426,7 @@ static CURLcode libcurl_generate_mime_part(CURL *curl,
{
CURLcode ret = CURLE_OK;
curl_mimepart *mimepart;
int submimeno;
int submimeno = 0;
curl_mime *submime = NULL;
char *escaped = NULL;
const char *data = NULL;