Change to checkError_ to suppress warnings
Merge pull request #2 from afcowie/fix-warnings

Suppress warnings