Delete some compile warnings

* Delete may be typo definition.
* Delete seems like unused variables and function.