bugfix:
- remove and comment some gcc compiler warnings for not used vaiables.