Skip to content

Commit ece8e5d

Browse files
committed
Match coding convention
1 parent ebaedb7 commit ece8e5d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/util/createdb.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ int createdb(int argc, const char **argv, const Command& command) {
9898

9999
size_t fileCount = filenames.size();
100100
DBReader<unsigned int>* reader = NULL;
101-
DBReader<unsigned int>* hdrReader = nullptr;
101+
DBReader<unsigned int>* hdrReader = NULL;
102102
if (dbInput == true) {
103103
reader = new DBReader<unsigned int>(par.db1.c_str(), par.db1Index.c_str(), 1, DBReader<unsigned int>::USE_DATA | DBReader<unsigned int>::USE_INDEX | DBReader<unsigned int>::USE_LOOKUP);
104104
reader->open(DBReader<unsigned int>::LINEAR_ACCCESS);
105-
hdrReader = new DBReader<unsigned int>((par.db1 + "_h").c_str(), (par.db1 + "_h.index").c_str(), 1, DBReader<unsigned int>::USE_DATA | DBReader<unsigned int>::USE_INDEX);
105+
hdrReader = new DBReader<unsigned int>(par.hdr1.c_str(), par.hdr1Index.c_str(), 1, DBReader<unsigned int>::USE_DATA | DBReader<unsigned int>::USE_INDEX);
106106
hdrReader->open(DBReader<unsigned int>::LINEAR_ACCCESS);
107107
fileCount = reader->getSize();
108108
}

0 commit comments

Comments
 (0)