TDQ-8787 modify some warnings in the related code.