[dashboards] vtkPVPlotMatrixView warnings
on paraview-branch-master-[fedora33_static_mpi_offscreen_osmesa_python]
https://open.cdash.org/viewBuildError.php?type=1&buildid=7115606
../Remoting/Views/vtkPVPlotMatrixView.cxx:637:29: warning: function may return address of local variable [-Wreturn-local-addr]
637 | : nullptr;
../Remoting/Views/vtkPVPlotMatrixView.cxx:636:89: note: declared here
636 | return this->PlotMatrix ? this->PlotMatrix->GetBackgroundColor(plotType).Cast<double>().GetData()
| ^
../Remoting/Views/vtkPVPlotMatrixView.cxx: In member function 'double* vtkPVPlotMatrixView::GetAxisColor(int)':
../Remoting/Views/vtkPVPlotMatrixView.cxx:644:29: warning: function may return address of local variable [-Wreturn-local-addr]
644 | : nullptr;
| ^~~~~~~
../Remoting/Views/vtkPVPlotMatrixView.cxx:643:83: note: declared here
643 | return this->PlotMatrix ? this->PlotMatrix->GetAxisColor(plotType).Cast<double>().GetData()
| ^
../Remoting/Views/vtkPVPlotMatrixView.cxx: In member function 'double* vtkPVPlotMatrixView::GetGridColor(int)':
../Remoting/Views/vtkPVPlotMatrixView.cxx:651:29: warning: function may return address of local variable [-Wreturn-local-addr]
651 | : nullptr;
| ^~~~~~~
../Remoting/Views/vtkPVPlotMatrixView.cxx:650:83: note: declared here
650 | return this->PlotMatrix ? this->PlotMatrix->GetGridColor(plotType).Cast<double>().GetData()
| ^
../Remoting/Views/vtkPVPlotMatrixView.cxx: In member function 'double* vtkPVPlotMatrixView::GetScatterPlotSelectedRowColumnColor()':
../Remoting/Views/vtkPVPlotMatrixView.cxx:720:7: warning: function may return address of local variable [-Wreturn-local-addr]
720 | : nullptr;
| ^~~~~~~
../Remoting/Views/vtkPVPlotMatrixView.cxx:719:77: note: declared here
719 | ? this->PlotMatrix->GetScatterPlotSelectedRowColumnColor().Cast<double>().GetData()
| ^
../Remoting/Views/vtkPVPlotMatrixView.cxx: In member function 'double* vtkPVPlotMatrixView::GetScatterPlotSelectedActiveColor()':
../Remoting/Views/vtkPVPlotMatrixView.cxx:728:7: warning: function may return address of local variable [-Wreturn-local-addr]
728 | : nullptr;
| ^~~~~~~
../Remoting/Views/vtkPVPlotMatrixView.cxx:727:74: note: declared here
727 | ? this->PlotMatrix->GetScatterPlotSelectedActiveColor().Cast<double>().GetData()
|
^