fix compilation warnings
  - make reporting function return void
  - remove/use unused variables
  - return 0 from main() in test_cuckoo