Remove warning C4189 in Visual C++

Remove warning C4189: 'total' :
local variable is initialized but not referenced.

Thus, all warnings in Visual C++ are silenced.