mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 17:16:15 +02:00
Fix compile warning due to unused variable binding.
We still need the check, since we don't have narinfo for locally built store paths.
This commit is contained in:
parent
7155df091f
commit
5292f36426
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ static json pathInfoToJSON(
|
||||||
|
|
||||||
jsonObject["closureSize"] = getStoreObjectsTotalSize(store, closure);
|
jsonObject["closureSize"] = getStoreObjectsTotalSize(store, closure);
|
||||||
|
|
||||||
if (auto * narInfo = dynamic_cast<const NarInfo *>(&*info)) {
|
if (dynamic_cast<const NarInfo *>(&*info)) {
|
||||||
uint64_t totalDownloadSize = 0;
|
uint64_t totalDownloadSize = 0;
|
||||||
for (auto & p : closure) {
|
for (auto & p : closure) {
|
||||||
auto depInfo = store.queryPathInfo(p);
|
auto depInfo = store.queryPathInfo(p);
|
||||||
|
|
Loading…
Reference in a new issue