Fix compiler warnings in BV-related code (unused vars mostly).
Merge pull request #39 from mdeters/bv-warnings

Fix compiler warnings in BV-related code (unused vars mostly).