Fix Clang 4.2 (Xcode 4.6) Compiler Warnings

Fixes a few compiler warnings that showed up in my iOS Xcode project concerning unused members, member initialization order and assignment to itself.

There are a few more warnings (e.g. about using `->isa` being deprecated and a `__bridge` cast without effect) but I wasn't sure how to fix them correctly and safely.