Cleanup: quiet -Warray-parameter warnings from GCC11

Some warnings remain that require larger changes.
This commit is contained in:
2021-05-21 15:45:25 +10:00
parent 6c6551c398
commit b13953b1f2
18 changed files with 30 additions and 32 deletions

View File

@@ -137,7 +137,7 @@ static void rna_CurveProfile_remove_point(CurveProfile *profile,
static void rna_CurveProfile_evaluate(struct CurveProfile *profile,
ReportList *reports,
float length_portion,
float *location)
float location[2])
{
if (!profile->table) {
BKE_report(reports, RPT_ERROR, "CurveProfile table not initialized, call initialize()");