remove unused parameter names and GCC __attribute__
fix some warinigs by removing unused variables
Merge pull request #17 from alex85k/attribute-removed

Fix unused variable warnings without __attribute__