Remove unused variable

This commit is contained in:
Alexander Karatarakis 2016-12-01 01:37:41 -08:00
parent 936d74d6f7
commit 89aaf195fb
2 changed files with 1 additions and 5 deletions

View File

@ -7,19 +7,17 @@
namespace vcpkg
{
extern bool g_do_dry_run;
StatusParagraphs database_load_check(const vcpkg_paths& paths);
void install_package(const vcpkg_paths& paths, const BinaryParagraph& binary_paragraph, StatusParagraphs& status_db);
void deinstall_package(const vcpkg_paths& paths, const package_spec& spec, StatusParagraphs& status_db);
expected<SourceParagraph> try_load_port(const fs::path& control_path);
inline expected<SourceParagraph> try_load_port(const vcpkg_paths& paths, const std::string& name)
{
return try_load_port(paths.ports / name);
}
expected<BinaryParagraph> try_load_cached_package(const vcpkg_paths& paths, const package_spec& spec);
} // namespace vcpkg

View File

@ -17,8 +17,6 @@
using namespace vcpkg;
bool vcpkg::g_do_dry_run = false;
static StatusParagraphs load_current_database(const fs::path& vcpkg_dir_status_file, const fs::path& vcpkg_dir_status_file_old)
{
if (!fs::exists(vcpkg_dir_status_file))