Mark unused parameters with __unused.
Remove misplaced semicolons.
Fix sing mismatches in assignments and comparisons.
Merge pull request #1 from dlahyani/feature/fix-compilation-warnings

fix compilation warnings