mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-24 03:27:12 +01:00
Remove unused variable
This commit is contained in:
parent
936d74d6f7
commit
89aaf195fb
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user