Address compile warnings & trivial improvements (#2097)

* Address compile warnings & trivial improvements

* revert unwanted initializers; use RDUNUSED_PARAM for unused params

* revert fix in testRDFcustom; marked with 'TO DO' comment
This commit is contained in:
Ric
2018-10-12 06:39:32 -04:00
committed by Greg Landrum
parent 9edd65593d
commit 91008ff11d
54 changed files with 278 additions and 310 deletions

View File

@@ -41,7 +41,7 @@ void runTest(SubstructLibrary &ssslib, const ROMol &pattern, int nThreads) {
TEST_ASSERT(hasMatch[i] == matched);
}
};
}
} // namespace
void test1() {
BOOST_LOG(rdErrorLog) << "-------------------------------------" << std::endl;
@@ -246,7 +246,7 @@ void docTest() {
BOOST_LOG(rdErrorLog) << " Done (C++ doc tests)" << std::endl;
}
int main(int argc, char *argv[]) {
int main() {
#if 1
test1();
test2();