diff options
author | David Robillard <d@drobilla.net> | 2017-12-16 10:30:44 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-16 10:30:44 +0100 |
commit | fc22583b1174c9b5e6d0364240431eaca932440d (patch) | |
tree | 4d7ac03769a3860c07563621197825cfab14244e /test/uri_test.cpp | |
parent | 4db870b2b20b0a608ec0283139056b836c5b1624 (diff) | |
download | raul-fc22583b1174c9b5e6d0364240431eaca932440d.tar.gz raul-fc22583b1174c9b5e6d0364240431eaca932440d.tar.bz2 raul-fc22583b1174c9b5e6d0364240431eaca932440d.zip |
Fix various warnings
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); |