Replaced `#[deny(dead_code)]` with `#[warn(dead_code)]`

Closes #312
Merge pull request #313 from leonkunert/master

Replaced `#[deny(dead_code)]` with `#[warn(dead_code)]`