[M120 Migration] Fix coverity issue