mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
libstore/local-store: fix linting warning about unused variable
This commit is contained in:
parent
6309bbb426
commit
05082ea1c5
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ LocalStore::LocalStore(
|
||||||
else if (curSchema == 0) { /* new store */
|
else if (curSchema == 0) { /* new store */
|
||||||
curSchema = nixSchemaVersion;
|
curSchema = nixSchemaVersion;
|
||||||
openDB(*state, true);
|
openDB(*state, true);
|
||||||
writeFile(schemaPath, fmt("%1%", nixSchemaVersion), 0666, true);
|
writeFile(schemaPath, fmt("%1%", curSchema), 0666, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (curSchema < nixSchemaVersion) {
|
else if (curSchema < nixSchemaVersion) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue