mock: Add parantheses around truth value (fixes compiler warning)
mock: Remove unused function (fixes compiler warning)
mock: Cast char* to byte* (fixes compiler warning)