Cleanup: spelling, unused arg warning

This commit is contained in:
Campbell Barton 2022-08-05 13:34:26 +10:00
parent 16ede6584e
commit 53c0c3cbd7
4 changed files with 5 additions and 5 deletions

View File

@ -3319,7 +3319,7 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
{
/* Keep this block, even when empty. */
/* Image generation information transfered to tiles. */
/* Image generation information transferred to tiles. */
if (!DNA_struct_elem_find(fd->filesdna, "ImageTile", "int", "gen_x")) {
for (Image *ima = bmain->images.first; ima; ima = ima->id.next) {
for (ImageTile *tile = ima->tiles.first; tile; tile = tile->next) {

View File

@ -239,7 +239,7 @@ DepsgraphRelationBuilder::DepsgraphRelationBuilder(Main *bmain,
{
}
TimeSourceNode *DepsgraphRelationBuilder::get_node(const TimeSourceKey &key) const
TimeSourceNode *DepsgraphRelationBuilder::get_node(const TimeSourceKey & /*key*/) const
{
return graph_->time_source;
}

View File

@ -153,7 +153,7 @@ void TreeElementOverridesBase::expand(SpaceOutliner &space_outliner) const
/** \} */
/* -------------------------------------------------------------------- */
/** \name Overriden Property
/** \name Overridden Property
*
* Represents an RNA property that was overridden.
*
@ -187,7 +187,7 @@ StringRefNull TreeElementOverridesProperty::getWarning() const
/** \} */
/* -------------------------------------------------------------------- */
/** \name Overriden Property Operation
/** \name Overridden Property Operation
*
* See #TreeElementOverridesPropertyOperation.
* \{ */

View File

@ -66,7 +66,7 @@ class TreeElementOverridesProperty : public AbstractTreeElement {
};
/**
* Represent a single operation within an overriden property. While usually a single override
* Represent a single operation within an overridden property. While usually a single override
* property represents a single operation (changing the value), a single overridden collection
* property may have multiple operations, e.g. to insert or remove collection items.
*