Enable -Weverything, fix a ton of bugs.

This commit is contained in:
Ian Gulliver
2016-02-25 23:37:37 -08:00
parent fe2486c398
commit 19a9d498bd
40 changed files with 220 additions and 184 deletions

View File

@@ -118,7 +118,7 @@ int main(int argc, char *argv[]) {
stats_init();
if (!parse_opts(argc, argv)) {
peer_shutdown();
peer_shutdown(0);
}
assert(!close(0));