diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-29 13:14:20 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-29 13:14:20 -0800 |
| commit | 7a2e6f614d9366fb63f0abb1f02a3e65dbd64ddb (patch) | |
| tree | 6506f162b54e95b61e6e36861e5ea3e4b45356c5 /toolsrc/src/post_build_lint.cpp | |
| parent | be71c433cc9902813e5a64be81fd058238c64fef (diff) | |
| download | vcpkg-7a2e6f614d9366fb63f0abb1f02a3e65dbd64ddb.tar.gz vcpkg-7a2e6f614d9366fb63f0abb1f02a3e65dbd64ddb.zip | |
Use extracted local variable
Diffstat (limited to 'toolsrc/src/post_build_lint.cpp')
| -rw-r--r-- | toolsrc/src/post_build_lint.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/src/post_build_lint.cpp b/toolsrc/src/post_build_lint.cpp index c3a6db184..866050edf 100644 --- a/toolsrc/src/post_build_lint.cpp +++ b/toolsrc/src/post_build_lint.cpp @@ -690,7 +690,7 @@ namespace vcpkg case LinkageType::STATIC: { std::vector<fs::path> dlls; - recursive_find_files_with_extension_in_dir(paths.packages / spec.dir(), ".dll", &dlls); + recursive_find_files_with_extension_in_dir(package_dir, ".dll", &dlls); error_count += check_no_dlls_present(dlls); error_count += check_bin_folders_are_not_present_in_static_build(spec, paths); @@ -709,11 +709,11 @@ namespace vcpkg Checks::unreachable(); } #if 0 - error_count += check_no_subdirectories(paths.packages / spec.dir() / "lib"); - error_count += check_no_subdirectories(paths.packages / spec.dir() / "debug" / "lib"); + error_count += check_no_subdirectories(package_dir / "lib"); + error_count += check_no_subdirectories(package_dir / "debug" / "lib"); #endif - error_count += check_no_empty_folders(paths.packages / spec.dir()); + error_count += check_no_empty_folders(package_dir); error_count += check_no_files_in_package_dir_and_debug_dir(package_dir); if (error_count != 0) |
