mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:13:37 +03:00
build: add picky compiler warning flags for gcc 6 and 7
This commit is contained in:
parent
4e884615d1
commit
a19fefb070
6 changed files with 25 additions and 5 deletions
|
|
@ -1193,7 +1193,10 @@ CURLcode Curl_mime_duppart(curl_mimepart *dst, const curl_mimepart *src)
|
|||
}
|
||||
|
||||
/* Duplicate other fields. */
|
||||
dst->encoder = src->encoder;
|
||||
if(dst != NULL)
|
||||
dst->encoder = src->encoder;
|
||||
else
|
||||
res = CURLE_WRITE_ERROR;
|
||||
if(!res)
|
||||
res = curl_mime_type(dst, src->mimetype);
|
||||
if(!res)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue