]> granicus.if.org Git - curl/commit
Bug #149: Deletion of unnecessary checks before a few calls of cURL functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 11 Mar 2015 17:15:33 +0000 (18:15 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 16 Mar 2015 11:13:56 +0000 (12:13 +0100)
commit9e661601feba03d1158ac466a457d5a6ce7f3f11
treef2c50d2dc10e01524a10a7113da2d566eb95fea4
parent29c655c0a6affc0359e499162e8308663eb4d04f
Bug #149: Deletion of unnecessary checks before a few calls of cURL functions

The following functions return immediately if a null pointer was passed.
* Curl_cookie_cleanup
* curl_formfree

It is therefore not needed that a function caller repeats a corresponding check.

This issue was fixed by using the software Coccinelle 1.0.0-rc24.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
lib/formdata.c
lib/share.c
lib/url.c