be pedantic about C
remove unused variables and method parameters