summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/urlapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/urlapi.c b/lib/urlapi.c
index 905c499d9..7f03862cf 100644
--- a/lib/urlapi.c
+++ b/lib/urlapi.c
@@ -770,8 +770,7 @@ static CURLUcode seturl(const char *url, CURLU *u, unsigned int flags)
size_t schemelen = 0;
size_t urllen;
- if(!url)
- return CURLUE_MALFORMED_INPUT;
+ DEBUGASSERT(url);
/*************************************************************
* Parse the URL.