mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-10-10 15:16:31 +08:00
TensorVolumePatchOp: Suppress Wmaybe-uninitialized caused by unreachable code
This commit is contained in:
parent
2bf8fe1489
commit
231308f690
@ -274,8 +274,10 @@ struct TensorEvaluator<const TensorVolumePatchOp<Planes, Rows, Cols, ArgType>, D
|
|||||||
m_colPaddingLeft = dx / 2;
|
m_colPaddingLeft = dx / 2;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default: {
|
||||||
eigen_assert(false && "unexpected padding");
|
eigen_assert(false && "unexpected padding");
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
eigen_assert(m_outputRows > 0);
|
eigen_assert(m_outputRows > 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user