removed set but unused variables or otherwise modified the code
so these type of warnings would be stopped.