Fix defects reported by Coverity Scan.
uninit_member: Non-static class member m_maxBaseAlign is not initialized in this constructor nor in any functions that it calls.
uninit_member: Non-static class member m_maxMetaBaseAlign is not initialized in this constructor nor in any functions that it calls.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7768>
m_rowSize(0),
m_minPitchAlignPixels(1),
m_maxSamples(8),
+ m_maxBaseAlign(0),
+ m_maxMetaBaseAlign(0),
m_pElemLib(NULL)
{
m_configFlags.value = 0;
m_rowSize(0),
m_minPitchAlignPixels(1),
m_maxSamples(8),
+ m_maxBaseAlign(0),
+ m_maxMetaBaseAlign(0),
m_pElemLib(NULL)
{
m_configFlags.value = 0;