diff options
author | Jon Rumsey <jrumsey@uk.ibm.com> | 2020-01-27 09:23:43 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-01-27 09:26:58 +0100 |
commit | 42287004610f0d3386b1c08a0fff8ed149f76c4e (patch) | |
tree | 74cd647b2623bf76e94b1f3726965bb05016ac2b /packages/OS400/ccsidcurl.c | |
parent | 9870b80f81789d45744a6639d97c5f1595f9fd70 (diff) | |
download | curl-42287004610f0d3386b1c08a0fff8ed149f76c4e.tar.gz |
urldata: do string enums without #ifdefs for build scripts
... and check for inconsistencies for OS400 at build time with the new
chkstrings tool.
Closes #4822
Diffstat (limited to 'packages/OS400/ccsidcurl.c')
-rw-r--r-- | packages/OS400/ccsidcurl.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 11e4c777e..64fb7393d 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1130,22 +1130,6 @@ curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...) char *cp; unsigned int ccsid; curl_off_t pfsize; - static char testwarn = 1; - - /* Warns if this procedure has not been updated when the dupstring enum - changes. - We (try to) do it only once: there is no need to issue several times - the same message; but since threadsafeness is not handled here, - this may occur (and we don't care!). */ - - if(testwarn) { - testwarn = 0; - - if((int) STRING_LASTZEROTERMINATED != (int) STRING_SASL_AUTHZID + 1 || - (int) STRING_LAST != (int) STRING_COPYPOSTFIELDS + 1) - curl_mfprintf(stderr, - "*** WARNING: curl_easy_setopt_ccsid() should be reworked ***\n"); - } data = (struct Curl_easy *) curl; va_start(arg, tag); |