summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-26 09:26:48 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-26 09:26:48 +0100
commit6b84e72d5c0adb622519fd91d021db08c61f05a2 (patch)
tree5bf7ef60a115cfc9142795cee7d3cb2ba783827a
parent782143ee818ca26d3da9133733eb97949346a88b (diff)
downloadcurl-bagder/warnless-rm-ultosi.tar.gz
warnless: remove curlx_ultosibagder/warnless-rm-ultosi
... not used anywhere
-rw-r--r--lib/warnless.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/lib/warnless.c b/lib/warnless.c
index 908ee6cb7..c0764c42d 100644
--- a/lib/warnless.c
+++ b/lib/warnless.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -156,25 +156,6 @@ unsigned char curlx_ultouc(unsigned long ulnum)
}
/*
-** unsigned long to signed int
-*/
-
-int curlx_ultosi(unsigned long ulnum)
-{
-#ifdef __INTEL_COMPILER
-# pragma warning(push)
-# pragma warning(disable:810) /* conversion may lose significant bits */
-#endif
-
- DEBUGASSERT(ulnum <= (unsigned long) CURL_MASK_SINT);
- return (int)(ulnum & (unsigned long) CURL_MASK_SINT);
-
-#ifdef __INTEL_COMPILER
-# pragma warning(pop)
-#endif
-}
-
-/*
** unsigned size_t to signed curl_off_t
*/