mirror of
https://github.com/taglib/taglib.git
synced 2026-07-14 15:21:31 -04:00
Inspection: Variable can be moved to init statement
This commit is contained in:
@@ -468,8 +468,7 @@ bool XM::File::save()
|
||||
for(unsigned short j = 0; j < sampleCount; ++ j) {
|
||||
if(sampleHeaderSize > 4U) {
|
||||
seek(pos);
|
||||
unsigned long sampleLength = 0;
|
||||
if(!readU32L(sampleLength))
|
||||
if(unsigned long sampleLength = 0; !readU32L(sampleLength))
|
||||
return false;
|
||||
|
||||
if(sampleHeaderSize > 18U) {
|
||||
|
||||
Reference in New Issue
Block a user