ceph/ceph — pull request #833 by dalgaaf (2013-11-07 22:52:17+00:00)
Title: Various fixes from SCA

Performance related:
- prefer prefix ++operator for non-primitive types
- use !empty() instead of size()

Other:
- remove unused variables
- use static_cast<>() instead of C-Style casts

---
v2: against master instead of next