mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:23:38 +03:00
examples: drop warning silencers no longer hit
Also:
- scope clang `-Wcast-function-type-strict` silencing, add missed `pop`.
Follow-up to d06b49d8b2 #18260
Closes #20896
This commit is contained in:
parent
435eabeac8
commit
56739855f3
2 changed files with 7 additions and 13 deletions
|
|
@ -40,10 +40,6 @@
|
|||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#pragma GCC diagnostic ignored "-Woverlength-strings"
|
||||
#endif
|
||||
|
||||
static size_t write_cb(void *ptr, size_t size, size_t nmemb, void *stream)
|
||||
{
|
||||
fwrite(ptr, size, nmemb, (FILE *)stream);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue