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:51:14 +0100
commit3fd2de9e6669ac479d0524ea7a4d4cc8e95c6052 (patch)
treec3388e9b082a9025c5def74c570a7a8e487adef3
parentb018d31cfcffa163f23a4336d1a34f9a37372253 (diff)
downloadschroot-3fd2de9e6669ac479d0524ea7a4d4cc8e95c6052.tar.gz
schroot-mount: Remove unused variables
-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
{