reduces warnings

d0, d1 were unused. Also silences (spurious) warnings from Xcode5 / LLVM about px, py