]> git.ipfire.org Git - thirdparty/curl.git/commit
test1545: disable deprecation warnings
authorViktor Szakats <commit@vsz.me>
Sat, 2 Dec 2023 15:59:21 +0000 (15:59 +0000)
committerViktor Szakats <commit@vsz.me>
Sat, 2 Dec 2023 20:17:41 +0000 (20:17 +0000)
commit0f103600731f7e08637017ef4df67a194e0d6711
treeb50f43aa5b922e475d76cb6cb0abd5bee173194a
parent586e3c19cd408379d9bca72e86393154661e34c3
test1545: disable deprecation warnings

Fixes:
https://ci.appveyor.com/project/curlorg/curl/builds/48631551/job/bhx74e0i66yrp6pk#L1205

Same with details:
https://ci.appveyor.com/project/curlorg/curl/builds/48662893/job/ol8a78q9gmilb6wt#L1263
```
tests/libtest/lib1545.c:38:3: error: 'curl_formadd' is deprecated: since 7.56.0. Use curl_mime_init() [-Werror=deprecated-declarations]
   38 |   curl_formadd(&m_formpost, &lastptr, CURLFORM_COPYNAME, "file",
      |   ^~~~~~~~~~~~
[...]
```

Follow-up to 07a3cd83e0456ca17dfd8c3104af7cf45b7a1ff5 #12421

Fixes #12445
Closes #12444
tests/libtest/lib1545.c