1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

libstore/local-store: fix linting warning about unused variable

This commit is contained in:
Jörg Thalheim 2025-03-21 15:43:58 +01:00
parent 6309bbb426
commit 05082ea1c5

View file

@ -243,7 +243,7 @@ LocalStore::LocalStore(
else if (curSchema == 0) { /* new store */
curSchema = nixSchemaVersion;
openDB(*state, true);
writeFile(schemaPath, fmt("%1%", nixSchemaVersion), 0666, true);
writeFile(schemaPath, fmt("%1%", curSchema), 0666, true);
}
else if (curSchema < nixSchemaVersion) {