mirror of
https://github.com/curl/curl.git
synced 2026-05-14 09:16:20 +03:00
urlapi: Expression 'storep' is always true
Fixes warning detected by PVS-Studio Fixes #4374
This commit is contained in:
parent
a6451487d4
commit
36fbb10071
1 changed files with 2 additions and 1 deletions
|
|
@ -1348,7 +1348,8 @@ CURLUcode curl_url_set(CURLU *u, CURLUPart what,
|
|||
default:
|
||||
return CURLUE_UNKNOWN_PART;
|
||||
}
|
||||
if(storep) {
|
||||
DEBUGASSERT(storep);
|
||||
{
|
||||
const char *newp = part;
|
||||
size_t nalloc = strlen(part);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue