Fix uninitialized variable warning.
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: Ifeabc68e2ed3bc35b6cb68890716cceea6b519db
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3170
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
}
NDRange(const std::array<unsigned int, D>& n)
- : m_sizes{n}
+ : m_sizes(n)
{
unsigned int t=1;
NDCoordinate(const NDCoordinate& rhs) =default;
NDCoordinate(const std::initializer_list<std::pair<int_t, int_t>>& list)
{
- std::array<int_t, N> sizes;
+ std::array<int_t, N> sizes{};
std::size_t i = 0;
for(auto& p : list) {