summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2012-10-27 23:37:25 +0100
committerRoger Leigh <rleigh@debian.org>2012-10-27 23:37:25 +0100
commit47a850b1c160264f3361ed821c0e370ee8145f29 (patch)
tree9b81af7f9585bc63f58348ff02acf554a8f0a873
parent18842347c72245afccd26a1d4adddf206ec8a77b (diff)
downloadschroot-47a850b1c160264f3361ed821c0e370ee8145f29.tar.gz
schroot-mount: Remove unused variablesrelease/schroot-1.6.4debian/schroot-1.6.4-1
-rw-r--r--bin/schroot-mount/schroot-mount-main.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/schroot-mount/schroot-mount-main.cc b/bin/schroot-mount/schroot-mount-main.cc
index 84dcfb52..0cf2eeef 100644
--- a/bin/schroot-mount/schroot-mount-main.cc
+++ b/bin/schroot-mount/schroot-mount-main.cc
@@ -101,11 +101,9 @@ main::resolve_path (std::string const& mountpoint)
char *resolved_path = realpath(directory.c_str(), 0);
if (resolved_path == 0)
{
- int err = errno;
// The path is either not present or is an invalid link. If
// it's not present, we'll create it later. If it's a link,
// bail out now.
- bool exists = true;
bool link = false;
try
{