X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Ftxdb-leveldb.cpp;h=8f956fe16413c5c6f29a3414706fe2401265bf14;hb=2404891de8ac5b357d0abde90f2e286a3153fdef;hp=97bf88cc38886ab60ded34813f200aad33b8d1e5;hpb=31e9cb26642187e571f178ddcfa268ce7c4e56cc;p=novacoin.git diff --git a/src/txdb-leveldb.cpp b/src/txdb-leveldb.cpp index 97bf88c..8f956fe 100644 --- a/src/txdb-leveldb.cpp +++ b/src/txdb-leveldb.cpp @@ -41,7 +41,7 @@ void init_blockindex(leveldb::Options& options, bool fRemoveOld = false) { filesystem::remove_all(directory); // remove directory unsigned int nFile = 1; - while (true) + for ( ; ; ) { filesystem::path strBlockFile = GetDataDir() / strprintf("blk%04u.dat", nFile);