fix warnings appearing with -Wextra

This fixes pretty much exclusively unsued-parameter
warnings. Removes some function parameters which have
fallen out of use and also the permutating parameter
test. The latter did not really do what it promised
and was pretty much beyond repair.
This commit is contained in:
Sarah Hoffmann
2019-02-09 17:36:31 +01:00
parent 5f7341e53e
commit 5eaaf99409
30 changed files with 170 additions and 269 deletions

View File

@ -264,6 +264,8 @@ void test_clone() {
} // anonymous namespace
int main(int argc, char *argv[]) {
(void)argc;
(void)argv;
// remove flat nodes file on exit - it's 20GB and bad manners to
// leave that lying around on the filesystem.
cleanup::file flat_nodes_file(FLAT_NODES_FILE_NAME);