From fc22583b1174c9b5e6d0364240431eaca932440d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 16 Dec 2017 10:30:44 +0100 Subject: Fix various warnings --- test/uri_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/uri_test.cpp') diff --git a/test/uri_test.cpp b/test/uri_test.cpp index 19debab..5e1a648 100644 --- a/test/uri_test.cpp +++ b/test/uri_test.cpp @@ -46,7 +46,7 @@ main() bool valid = true; try { URI uri("not/a/uri"); - } catch (const URI::BadURI& e) { + } catch (const URI::BadURI&) { valid = false; } CHECK(!valid); @@ -54,7 +54,7 @@ main() valid = true; try { URI uri(std::string("/this/is/a/path")); - } catch (const URI::BadURI& e) { + } catch (const URI::BadURI&) { valid = false; } CHECK(!valid); -- cgit v1.2.1