file: fix icc enumerated type mixed with another type warning

Ref: #9179
Closes #9181
This commit is contained in:
Daniel Stenberg 2022-07-19 16:45:30 +02:00
parent 4d73854462
commit c61e6de7d5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -236,7 +236,7 @@ static CURLcode file_disconnect(struct Curl_easy *data,
{
(void)dead_connection; /* not used */
(void)conn;
return file_done(data, 0, 0);
return file_done(data, CURLE_OK, FALSE);
}
#ifdef DOS_FILESYSTEM