mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix most of the unused assignment errors from static analysis.
There are a very few left that need deeper study, but this gets rid of most of the noise. For the most part it's just getting rid of extra variables or removing an assignment that is always replaced later but before any reads of the variable. A few are discarded result variables.
This commit is contained in:
@@ -435,9 +435,6 @@ namespace IANAParser
|
||||
time_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.timecnt)));
|
||||
type_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.typecnt)));
|
||||
char_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.charcnt)));
|
||||
isgmt_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.ttisgmtcnt)));
|
||||
isstd_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.ttisstdcnt)));
|
||||
leap_count = *(endian_swap(reinterpret_cast<uint32_t*>(tzh.leapcnt)));
|
||||
transition_size = 8;
|
||||
}
|
||||
fb_index += sizeof(tzh);
|
||||
|
Reference in New Issue
Block a user