ceph/ceph — pull request #81 by dalgaaf (2013-02-27 18:39:55+00:00)
Title: Fix some smaller style issues

Fixing some issues like:
- use static_cast instead of C-Style cast
- pass const string by refrence
- remove some unused variables
- reduce the scope of some variables
- check for self assignment in operator=
- remove some unreachable break statements
- remove duplicate if/else branches