mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Rename all parameters and locals from 'index' to 'indx'.
This commit is contained in:
@@ -189,9 +189,9 @@ static void delete_from_our_metadata_(unsigned position)
|
||||
}
|
||||
}
|
||||
|
||||
void add_to_padding_length_(unsigned index, int delta)
|
||||
void add_to_padding_length_(unsigned indx, int delta)
|
||||
{
|
||||
FLAC::Metadata::Padding *padding = dynamic_cast<FLAC::Metadata::Padding *>(our_metadata_.blocks[index]);
|
||||
FLAC::Metadata::Padding *padding = dynamic_cast<FLAC::Metadata::Padding *>(our_metadata_.blocks[indx]);
|
||||
FLAC__ASSERT(0 != padding);
|
||||
padding->set_length((unsigned)((int)padding->get_length() + delta));
|
||||
}
|
||||
|
||||
@@ -51,11 +51,11 @@ static char *strdup_or_die_(const char *s)
|
||||
return x;
|
||||
}
|
||||
|
||||
static bool index_is_equal_(const ::FLAC__StreamMetadata_CueSheet_Index &index, const ::FLAC__StreamMetadata_CueSheet_Index &indexcopy)
|
||||
static bool index_is_equal_(const ::FLAC__StreamMetadata_CueSheet_Index &indx, const ::FLAC__StreamMetadata_CueSheet_Index &indxcopy)
|
||||
{
|
||||
if(indexcopy.offset != index.offset)
|
||||
if(indxcopy.offset != indx.offset)
|
||||
return false;
|
||||
if(indexcopy.number != index.number)
|
||||
if(indxcopy.number != indx.number)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user