Source code: Invalid initialization of members in constructors
A free file archiver for extremely high compression
Brought to you by:
ipavlov
Found these in 18.06 source code:
7z1806-src/CPP/7zip/UI/FileManager/FSFolder.cpp:537: index is assigned to itself, not to the class member.
7z1806-src/CPP/7zip/UI/FileManager/FSFolderCopy.cpp:164: TotalFileSize is assigned to itself, not to the class member.
A fix should probably be to use this->index = index; and this->TotalFileSize = TotalFileSize;
Not a bug.
It's just a trick to disable warnings for unused vaiable.
I'll change that code.
What tool/compiler did you use to analyze?
Thanks. I used Cppcheck.