lib/{curl,upnp}: add more exception handlers

Bugs found by Coverity.
This commit is contained in:
Max Kellermann
2017-11-14 20:05:44 +01:00
parent e2c81aa9ea
commit 1040b85785
5 changed files with 25 additions and 13 deletions

View File

@@ -72,7 +72,7 @@ CurlRequest::~CurlRequest() noexcept
}
void
CurlRequest::Start() noexcept
CurlRequest::Start()
{
assert(!registered);

View File

@@ -91,7 +91,7 @@ public:
*
* This method must be called in the event loop thread.
*/
void Start() noexcept;
void Start();
/**
* Unregister this request via CurlGlobal::Remove().