Compiler warning

Issue #209 resolved
shinchiro created an issue

In 02db15e14351c7f5190203a087db285655961205 tip,theres warning while compiling

D:/anon/x265/source/encoder/analysis.cpp: In member function 'x265::SplitData x265::Analysis::compressInterCU_rd0_4(const x265::CUData&, const x265::CUGeom&, int32_t)':
D:/anon/x265/source/encoder/analysis.cpp:942:28: warning: declaration of 'md' shadows a previous local [-Wshadow]
                 ModeDepth& md = m_modeDepth[depth];
                            ^
D:/anon/x265/source/encoder/analysis.cpp:819:16: note: shadowed declaration is here
     ModeDepth& md = m_modeDepth[depth];
                ^
D:/anon/x265/source/encoder/analysis.cpp:993:28: warning: declaration of 'md' shadows a previous local [-Wshadow]
                 ModeDepth& md = m_modeDepth[depth];
                            ^
D:/anon/x265/source/encoder/analysis.cpp:819:16: note: shadowed declaration is here
     ModeDepth& md = m_modeDepth[depth];
                ^
D:/anon/x265/source/encoder/analysis.cpp: In member function 'x265::SplitData x265::Analysis::compressInterCU_rd5_6(const x265::CUData&, const x265::CUGeom&, uint32_t&, int32_t)':
D:/anon/x265/source/encoder/analysis.cpp:1431:28: warning: declaration of 'md' shadows a previous local [-Wshadow]
                 ModeDepth& md = m_modeDepth[depth];
                            ^
D:/anon/x265/source/encoder/analysis.cpp:1293:16: note: shadowed declaration is here
     ModeDepth& md = m_modeDepth[depth];
                ^
D:/anon/x265/source/encoder/analysis.cpp:1480:28: warning: declaration of 'md' shadows a previous local [-Wshadow]
                 ModeDepth& md = m_modeDepth[depth];
                            ^
D:/anon/x265/source/encoder/analysis.cpp:1293:16: note: shadowed declaration is here
     ModeDepth& md = m_modeDepth[depth];
                ^

Comments (1)

  1. Log in to comment