Thanks @apavlenko.
I reflected your comment on commit https://github.com/pclove1/opencv/commit/2272a5876972f74684c43f2069c3046bd2888d01