Remove redundant variable re-assignments.
Be consistent with `nullptr`.
Use `void` instead of `VOID`.
MPCTestAPIDlg.cpp: Check return value and add a cast to shut up /analyze.
Update contrib/mpc-hc.cppcheck options.
Use the proper format type specifier - part 2.
Cleanup - part 2.