]> git.ipfire.org Git - thirdparty/curl.git/commit
operate_do: skip superfluous check for NULL pointer
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Oct 2014 10:21:39 +0000 (12:21 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 8 Oct 2014 10:21:39 +0000 (12:21 +0200)
commit987a4a7367ac8df32628ba738342e2206582f1e7
treebd83a31ce739c25f8e8360aff2491714b70aef9a
parente0d269c0d8da074ad59aca87b291c7f8146df574
operate_do: skip superfluous check for NULL pointer

Coverity CID 1243583. get_url_file_name() cannot fail and return a NULL
file name pointer so skip the check for that - it tricks coverity into
believing it can happen and it then warns later on when we use 'outfile'
without checking for NULL.
src/tool_operate.c