CppCheck : The scope of the variable can be reduced

Version imprimable