diff options
Diffstat (limited to 'test/uri_test.cpp')
-rw-r--r-- | test/uri_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |