aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-02-13 22:15:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-13 22:15:47 +0300
commit4ea1f6680b6b740220fc25a2c971560fde4d6392 (patch)
tree8cafc5006ddf496b08ebfdb49ff8dbcf1c6b755b
parentc76874c5a1e57b4c3dc8d392f29b679d14a1d305 (diff)
Suppress 'unreferenced local variable' VC warning
-rw-r--r--libbpkg/manifest.cxx4
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.
}