From 4ea1f6680b6b740220fc25a2c971560fde4d6392 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 13 Feb 2018 22:15:00 +0300 Subject: Suppress 'unreferenced local variable' VC warning --- libbpkg/manifest.cxx | 4 ++-- 1 file 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. } -- cgit v1.1