Fix defects ( passed by value) reported by cppcheck
@sroe
No changes between version 1 and version 1