client: fixed code style issues detected by cppcheck refs #107
mod: fixed code style issues detected by cppcheck refs #107