Skip to content

Commit f027109

Browse files
committed
Drop unused 'settings' argument
1 parent 5807b5c commit f027109

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libflake/flake/flake.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,6 @@ Flake getFlake(EvalState & state, const FlakeRef & originalRef, bool useRegistri
362362
}
363363

364364
static LockFile readLockFile(
365-
const Settings & settings,
366365
const fetchers::Settings & fetchSettings,
367366
const SourcePath & lockFilePath)
368367
{
@@ -398,7 +397,6 @@ LockedFlake lockFlake(
398397
}
399398

400399
auto oldLockFile = readLockFile(
401-
settings,
402400
state.fetchSettings,
403401
lockFlags.referenceLockFilePath.value_or(
404402
flake.lockFilePath()));
@@ -696,7 +694,7 @@ LockedFlake lockFlake(
696694
inputFlake.inputs, childNode, inputPath,
697695
oldLock
698696
? std::dynamic_pointer_cast<const Node>(oldLock)
699-
: readLockFile(settings, state.fetchSettings, inputFlake.lockFilePath()).root.get_ptr(),
697+
: readLockFile(state.fetchSettings, inputFlake.lockFilePath()).root.get_ptr(),
700698
oldLock ? followsPrefix : inputPath,
701699
inputFlake.path,
702700
false);

0 commit comments

Comments
 (0)