Browse Source

Removed unused variable in filesystem::get_relative_path

merge-requests/365/head
eidheim 9 years ago
parent
commit
6fc959583e
  1. 1
      src/filesystem.cc

1
src/filesystem.cc

@ -201,7 +201,6 @@ boost::filesystem::path filesystem::get_canonical_path(const boost::filesystem::
boost::filesystem::path filesystem::get_relative_path(const boost::filesystem::path &path, const boost::filesystem::path &base) noexcept {
boost::filesystem::path relative_path;
boost::system::error_code ec;
if(std::distance(path.begin(), path.end())<std::distance(base.begin(), base.end()))
return boost::filesystem::path();

Loading…
Cancel
Save