diff options
-rw-r--r-- | libbpkg/manifest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbpkg/manifest.cxx b/libbpkg/manifest.cxx index d7cf7cf..81a9b8c 100644 --- a/libbpkg/manifest.cxx +++ b/libbpkg/manifest.cxx @@ -1451,7 +1451,7 @@ namespace bpkg { path->normalize (false /* actual */, true /* cur_empty */); } - catch (const invalid_path& e) + catch (const invalid_path&) { assert (false); // Can't be here as the path is relative. } @@ -1515,7 +1515,7 @@ namespace bpkg { path->normalize (); } - catch (const invalid_path& e) + catch (const invalid_path&) { bad_url ("invalid path"); // Goes past the root directory. } |