Removed two dead storage bugs. Thanks to LLVMs very useful scan-build
static code analyzer.
This commit is contained in:
parent
14e110178a
commit
cf1e2fa930
@ -349,7 +349,6 @@ int main (int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cout << "ok, after " << get_timestamp() - time << "s" << endl;
|
cout << "ok, after " << get_timestamp() - time << "s" << endl;
|
||||||
time = get_timestamp();
|
|
||||||
|
|
||||||
cout << "[extractor] setting number of nodes ... " << flush;
|
cout << "[extractor] setting number of nodes ... " << flush;
|
||||||
ios::pos_type positionInFile = fout.tellp();
|
ios::pos_type positionInFile = fout.tellp();
|
||||||
@ -457,9 +456,8 @@ int main (int argc, char *argv[]) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
cout << "ok, after " << get_timestamp() - time << "s" << endl;
|
cout << "ok, after " << get_timestamp() - time << "s" << endl;
|
||||||
time = get_timestamp();
|
|
||||||
|
|
||||||
cout << "[extractor] setting number of edges ... " << flush;
|
cout << "[extractor] setting number of edges ... " << flush;
|
||||||
|
|
||||||
fout.seekp(positionInFile);
|
fout.seekp(positionInFile);
|
||||||
fout.write((char*)&usedEdgeCounter, sizeof(unsigned));
|
fout.write((char*)&usedEdgeCounter, sizeof(unsigned));
|
||||||
fout.close();
|
fout.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user