Cleanup: clang-tidy warnings
This commit is contained in:
parent
b559fb178e
commit
bdb7d262aa
|
@ -38,9 +38,7 @@ AssetCatalogPath::AssetCatalogPath(const char *path) : path_(path)
|
|||
{
|
||||
}
|
||||
|
||||
AssetCatalogPath::AssetCatalogPath(const AssetCatalogPath &other_path) : path_(other_path.path_)
|
||||
{
|
||||
}
|
||||
AssetCatalogPath::AssetCatalogPath(const AssetCatalogPath &other_path) = default;
|
||||
|
||||
AssetCatalogPath::AssetCatalogPath(AssetCatalogPath &&other_path) noexcept
|
||||
: path_(std::move(other_path.path_))
|
||||
|
|
|
@ -49,7 +49,7 @@ bool IMB_exr_begin_read(void * /*handle*/,
|
|||
int * /*height*/,
|
||||
const bool /*add_channels*/)
|
||||
{
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
bool IMB_exr_begin_write(void * /*handle*/,
|
||||
const char * /*filename*/,
|
||||
|
|
|
@ -302,9 +302,8 @@ static StripColorBalance calc_cb(StripColorBalance *cb_)
|
|||
if (cb_->method == SEQ_COLOR_BALANCE_METHOD_LIFTGAMMAGAIN) {
|
||||
return calc_cb_lgg(cb_);
|
||||
}
|
||||
else { /* cb_->method == SEQ_COLOR_BALANCE_METHOD_SLOPEOFFSETPOWER */
|
||||
return calc_cb_sop(cb_);
|
||||
}
|
||||
/* `cb_->method == SEQ_COLOR_BALANCE_METHOD_SLOPEOFFSETPOWER`. */
|
||||
return calc_cb_sop(cb_);
|
||||
}
|
||||
|
||||
/* NOTE: lift is actually 2-lift. */
|
||||
|
|
Loading…
Reference in New Issue